From: Daniel Black Date: Sun, 21 Nov 2004 20:50:46 +0000 (+0000) Subject: added patch to fix compile problem. bug #71942 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8ce6cbaebe812f71915a4c30e51dd57a65037c6;p=gentoo.git added patch to fix compile problem. bug #71942 --- diff --git a/dev-db/gmyclient/ChangeLog b/dev-db/gmyclient/ChangeLog index 474659be6d3a..d815ce4181e6 100644 --- a/dev-db/gmyclient/ChangeLog +++ b/dev-db/gmyclient/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/gmyclient # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/gmyclient/ChangeLog,v 1.5 2004/06/24 21:54:19 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/gmyclient/ChangeLog,v 1.6 2004/11/21 20:50:46 dragonheart Exp $ + + 22 Nov 2004; Daniel Black +files/0.3-fix.patch, + gmyclient-0.3.ebuild: + added patch to fix compile problem. bug #71942. Thanks to Gary + for the bug report. 25 Apr 2004; Aron Griffis gmyclient-0.3.ebuild: Add die following econf for bug 48950 diff --git a/dev-db/gmyclient/Manifest b/dev-db/gmyclient/Manifest index cbc5097f2e5a..18872e821cb4 100644 --- a/dev-db/gmyclient/Manifest +++ b/dev-db/gmyclient/Manifest @@ -1,3 +1,14 @@ -MD5 110024bfc038c17b7b16c6f652f67a89 gmyclient-0.3.ebuild 770 -MD5 b978310e8097976e32a1c553cc752935 ChangeLog 600 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 e1289d1fd0532d56b7e72c94fada4316 ChangeLog 810 +MD5 a9b0b505dc6ca9e4f11095769a72f984 gmyclient-0.3.ebuild 850 +MD5 4099749bb897b80e8e6fc6cbd2b886bc files/0.3-fix.patch 844 MD5 9ce548600f5d9e1ffeb2347725a40bd9 files/digest-gmyclient-0.3 66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBoP+smdTrptrqvGERAk0cAJsH0jdriPpo5XxrIcVZQDjC8NybNgCeMK9G +QVSjQALibWTSJo22FwZpcQM= +=SGeW +-----END PGP SIGNATURE----- diff --git a/dev-db/gmyclient/files/0.3-fix.patch b/dev-db/gmyclient/files/0.3-fix.patch new file mode 100644 index 000000000000..c07394efa24a --- /dev/null +++ b/dev-db/gmyclient/files/0.3-fix.patch @@ -0,0 +1,31 @@ +--- src/gm-interface.c.orig 2004-11-22 06:12:04.557354936 +0930 ++++ src/gm-interface.c 2004-11-22 06:13:30.945830832 +0930 +@@ -838,8 +838,6 @@ + stop_emit = TRUE; + break; + } +- +- default: + } + } + if (connection->key_mode == APP_COMMAND_MODE && !stop_emit && npage_data && npage_data->type == GM_NPAGE_BROWSER) { +@@ -857,7 +855,6 @@ + stop_emit = TRUE; + break; + } +- default: + } + } + +--- src/gm-print.h.orig 2004-11-22 06:12:20.314568416 +0930 ++++ src/gm-print.h 2004-11-22 06:12:50.265015256 +0930 +@@ -149,7 +149,8 @@ + + + +-#endif # gnome-print-support ++#endif ++/* gnome-print-support */ + void gm_print (void * ignore, GmConnection * connection); + void gm_print_preview (void * ignore, GmConnection * connection); + diff --git a/dev-db/gmyclient/gmyclient-0.3.ebuild b/dev-db/gmyclient/gmyclient-0.3.ebuild index 3ac3c8b3391a..c825a9351efa 100644 --- a/dev-db/gmyclient/gmyclient-0.3.ebuild +++ b/dev-db/gmyclient/gmyclient-0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/gmyclient/gmyclient-0.3.ebuild,v 1.9 2004/06/24 21:54:19 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/gmyclient/gmyclient-0.3.ebuild,v 1.10 2004/11/21 20:50:46 dragonheart Exp $ DESCRIPTION="Gnome based mysql client" SRC_URI="http://${PN}.sourceforge.net/download/${P}.tar.gz" @@ -15,6 +15,12 @@ DEPEND=">=gnome-base/gnome-libs-1.2 >=dev-db/mysql-3 =gnome-base/libglade-0*" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-fix.patch +} + src_compile() { econf `use_enable nls` || die "econf failed" emake || die