summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-12-03 06:16:49 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-12-03 06:16:49 +0000
commit2c5db8ed77a2e49c541ed632971db9691e899588 (patch)
treef26fd3d753418ec94f44c9535f155cddffe83188 /gnome-extra/libgda
parentadding metadata (diff)
downloadgentoo-2-2c5db8ed77a2e49c541ed632971db9691e899588.tar.gz
gentoo-2-2c5db8ed77a2e49c541ed632971db9691e899588.tar.bz2
gentoo-2-2c5db8ed77a2e49c541ed632971db9691e899588.zip
Patch to make it compile under gcc2.
Diffstat (limited to 'gnome-extra/libgda')
-rw-r--r--gnome-extra/libgda/ChangeLog6
-rw-r--r--gnome-extra/libgda/Manifest19
-rw-r--r--gnome-extra/libgda/files/libgda-1.0.2-gcc2_fix.patch15
-rw-r--r--gnome-extra/libgda/libgda-1.0.2.ebuild3
4 files changed, 32 insertions, 11 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog
index b4b6300cddd2..013f5b5e2ea5 100644
--- a/gnome-extra/libgda/ChangeLog
+++ b/gnome-extra/libgda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/libgda
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.32 2003/12/01 13:48:40 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.33 2003/12/03 06:16:43 leonardop Exp $
+
+ 03 Dec 2003; L. Boshell <leonardop@gentoo.org> libgda-1.0.2.ebuild,
+ files/libgda-1.0.2-gcc2_fix.patch:
+ Added patch to make it compile under gcc2.
*libgda-1.0.2 (01 Dec 2003)
diff --git a/gnome-extra/libgda/Manifest b/gnome-extra/libgda/Manifest
index 83e0dda944df..526e0ee50c11 100644
--- a/gnome-extra/libgda/Manifest
+++ b/gnome-extra/libgda/Manifest
@@ -1,15 +1,16 @@
-MD5 ec4c66af4e7ca373e370223b7d126a4b libgda-0.2.96-r2.ebuild 3495
-MD5 21d7bf915f9fdd61a090b47644a39662 libgda-0.12.1.ebuild 2570
-MD5 0c96abc8d028f688bf4cc1c10a079d43 libgda-1.0.0.ebuild 2539
-MD5 7650dd183daf2fdb60f0b2782075e3fa libgda-1.0.2.ebuild 2546
+MD5 91d898193211e05e902ef28d914ef175 ChangeLog 5065
MD5 37f9b04c394742e1ffcb6bf1218b6358 libgda-0.2.95-r1.ebuild 3283
-MD5 5f73acf9e2f5b81b4c2ec706ae715d1f ChangeLog 4906
+MD5 ec4c66af4e7ca373e370223b7d126a4b libgda-0.2.96-r2.ebuild 3495
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 21d7bf915f9fdd61a090b47644a39662 libgda-0.12.1.ebuild 2570
MD5 98ed130836fc537cad32af2dcde13e83 libgda-1.0.1.ebuild 2545
-MD5 3ca3af1e56c86303037c0792d9c90d3d files/digest-libgda-1.0.0 66
-MD5 49ea693a813a629d57b5fe1ac8001ff6 files/digest-libgda-1.0.1 66
-MD5 46b8c0b40219635d47ca4583d42dc814 files/digest-libgda-1.0.2 66
+MD5 7f56166df222bc258e20bb3e6c0c6d6c libgda-1.0.2.ebuild 2592
+MD5 0c96abc8d028f688bf4cc1c10a079d43 libgda-1.0.0.ebuild 2539
MD5 40bbf8acf6e08a15e8e61573f6f07724 files/digest-libgda-0.2.95-r1 66
-MD5 e92331f7677fcfc3e82541f08676bb32 files/digest-libgda-0.2.96-r2 66
+MD5 49ea693a813a629d57b5fe1ac8001ff6 files/digest-libgda-1.0.1 66
MD5 b8ef30c01c11ee3f373d99d6173d71a9 files/digest-libgda-0.12.1 66
+MD5 e92331f7677fcfc3e82541f08676bb32 files/digest-libgda-0.2.96-r2 66
+MD5 46b8c0b40219635d47ca4583d42dc814 files/digest-libgda-1.0.2 66
MD5 b25e6e812f6a42246239fb79f338c09e files/libgda-0.2.96-gentoo.patch 3345
+MD5 3ca3af1e56c86303037c0792d9c90d3d files/digest-libgda-1.0.0 66
+MD5 adf80d651f1d75c9745c44264f58708e files/libgda-1.0.2-gcc2_fix.patch 641
diff --git a/gnome-extra/libgda/files/libgda-1.0.2-gcc2_fix.patch b/gnome-extra/libgda/files/libgda-1.0.2-gcc2_fix.patch
new file mode 100644
index 000000000000..d5b27c26b7f8
--- /dev/null
+++ b/gnome-extra/libgda/files/libgda-1.0.2-gcc2_fix.patch
@@ -0,0 +1,15 @@
+diff -NurB libgda-1.0.2-orig/libgda/gda-command.c libgda-1.0.2/libgda/gda-command.c
+--- libgda-1.0.2-orig/libgda/gda-command.c 2003-12-03 00:46:02.000000000 -0500
++++ libgda-1.0.2/libgda/gda-command.c 2003-12-03 00:47:33.000000000 -0500
+@@ -100,8 +100,10 @@
+ GdaCommand *
+ gda_command_copy (GdaCommand *cmd)
+ {
++ GdaCommand *new_cmd;
++
+ g_return_val_if_fail (cmd != NULL, NULL);
+- GdaCommand *new_cmd = gda_command_new (gda_command_get_text (cmd),
++ new_cmd = gda_command_new (gda_command_get_text (cmd),
+ gda_command_get_command_type (cmd),
+ gda_command_get_options (cmd));
+ gda_command_set_transaction (new_cmd,
diff --git a/gnome-extra/libgda/libgda-1.0.2.ebuild b/gnome-extra/libgda/libgda-1.0.2.ebuild
index 0e367b8b45d3..edd9afaa09f0 100644
--- a/gnome-extra/libgda/libgda-1.0.2.ebuild
+++ b/gnome-extra/libgda/libgda-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.0.2.ebuild,v 1.1 2003/12/01 13:48:40 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.0.2.ebuild,v 1.2 2003/12/03 06:16:43 leonardop Exp $
IUSE="odbc postgres mysql ldap firebird freetds sqlite mdb oci8 doc"
@@ -42,6 +42,7 @@ MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
gnome2_omf_fix ${S}/doc/Makefile.in
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
}
src_compile() {