summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-11-21 20:50:46 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-11-21 20:50:46 +0000
commita69133bcc51b4f8d9e24f1dbd4a73e7aa37eac94 (patch)
treed04b325d459accdf8b55835e141ea9ba5bc673b5 /dev-db/gmyclient
parentAdded to ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-a69133bcc51b4f8d9e24f1dbd4a73e7aa37eac94.tar.gz
gentoo-2-a69133bcc51b4f8d9e24f1dbd4a73e7aa37eac94.tar.bz2
gentoo-2-a69133bcc51b4f8d9e24f1dbd4a73e7aa37eac94.zip
added patch to fix compile problem. bug #71942
Diffstat (limited to 'dev-db/gmyclient')
-rw-r--r--dev-db/gmyclient/ChangeLog7
-rw-r--r--dev-db/gmyclient/files/0.3-fix.patch31
-rw-r--r--dev-db/gmyclient/gmyclient-0.3.ebuild8
3 files changed, 44 insertions, 2 deletions
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 <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
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