added patch to fix compile problem. bug #71942
authorDaniel Black <dragonheart@gentoo.org>
Sun, 21 Nov 2004 20:50:46 +0000 (20:50 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sun, 21 Nov 2004 20:50:46 +0000 (20:50 +0000)
dev-db/gmyclient/ChangeLog
dev-db/gmyclient/Manifest
dev-db/gmyclient/files/0.3-fix.patch [new file with mode: 0644]
dev-db/gmyclient/gmyclient-0.3.ebuild

index 474659be6d3a459f3c70ec4f49068d2de06c78dc..d815ce4181e69c13d9b28d50bb6d3d6ddc35cac6 100644 (file)
@@ -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 <dragonheart@gentoo.org> +files/0.3-fix.patch,
+  gmyclient-0.3.ebuild:
+  added patch to fix compile problem. bug #71942. Thanks to Gary
+  <gary@garylynn.net> for the bug report.
 
   25 Apr 2004; Aron Griffis <agriffis@gentoo.org> gmyclient-0.3.ebuild:
   Add die following econf for bug 48950
index cbc5097f2e5aeb1d3b4013e4c205a5bff605be22..18872e821cb42d4c4aefcc3338a5d4ac1d254596 100644 (file)
@@ -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 (file)
index 0000000..c07394e
--- /dev/null
@@ -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);
+ 
index 3ac3c8b3391a4bc393eee19491fa3efff53b929a..c825a9351efa6a4b8dd257b4a7255c5af3a93f64 100644 (file)
@@ -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