diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-06-03 06:20:25 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-06-03 06:20:25 +0000 |
commit | 0e6bd95ad194e49e62716bc82701930a58c9d3ce (patch) | |
tree | 20ac2b3988495b374b73ac356fa6cfc99ce08454 | |
parent | Version bump. (diff) | |
download | gentoo-2-0e6bd95ad194e49e62716bc82701930a58c9d3ce.tar.gz gentoo-2-0e6bd95ad194e49e62716bc82701930a58c9d3ce.tar.bz2 gentoo-2-0e6bd95ad194e49e62716bc82701930a58c9d3ce.zip |
Adding patch to fix bug #94768.
(Portage version: 2.0.51.22-r1)
-rw-r--r-- | gnome-extra/libgda/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-extra/libgda/files/libgda-0.2.96-gcc3.4.patch | 21 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-0.2.96-r2.ebuild | 9 |
3 files changed, 32 insertions, 4 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog index c69a6b5c81de..c156244ac394 100644 --- a/gnome-extra/libgda/ChangeLog +++ b/gnome-extra/libgda/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/libgda # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.60 2005/05/16 21:16:13 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.61 2005/06/03 06:20:25 leonardop Exp $ + + 03 Jun 2005; Leonardo Boshell <leonardop@gentoo.org> libgda-0.2.96-r1.ebuild, + files/libgda-0.2.96-gcc3.4.patch: + Added a patch to fix compilation issues; resolves bug #94768. 16 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> libgda-1.0.4.ebuild: Stable on sparc diff --git a/gnome-extra/libgda/files/libgda-0.2.96-gcc3.4.patch b/gnome-extra/libgda/files/libgda-0.2.96-gcc3.4.patch new file mode 100644 index 000000000000..a215f213ae0c --- /dev/null +++ b/gnome-extra/libgda/files/libgda-0.2.96-gcc3.4.patch @@ -0,0 +1,21 @@ +diff -NurdB libgda-0.2.96/providers/gda-mysql-server/gda-mysql-connection.c libgda-0.2.96-patched/providers/gda-mysql-server/gda-mysql-connection.c +--- libgda-0.2.96/providers/gda-mysql-server/gda-mysql-connection.c 2001-09-28 16:18:52.000000000 -0500 ++++ libgda-0.2.96-patched/providers/gda-mysql-server/gda-mysql-connection.c 2005-06-03 00:03:17.000000000 -0500 +@@ -539,7 +539,7 @@ + case GDA_Connection_OBJECT_CATALOG: + /* N/A */ + break; +- default: ++ default: ; + } + } + +@@ -683,7 +683,7 @@ + break; + case GDA_Connection_COLUMN_NAME: + break; +- default: ++ default: ; + } + } + diff --git a/gnome-extra/libgda/libgda-0.2.96-r2.ebuild b/gnome-extra/libgda/libgda-0.2.96-r2.ebuild index 9130c816eb79..b161ac443ec2 100644 --- a/gnome-extra/libgda/libgda-0.2.96-r2.ebuild +++ b/gnome-extra/libgda/libgda-0.2.96-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-0.2.96-r2.ebuild,v 1.18 2005/02/01 14:45:21 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-0.2.96-r2.ebuild,v 1.19 2005/06/03 06:20:25 leonardop Exp $ + +inherit eutils IUSE="odbc postgres mysql" @@ -37,11 +39,12 @@ DEPEND="${RDEPEND} sys-apps/which" src_unpack() { - unpack ${A} cd ${S} - patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die "Patch for gcc-3.1 failed" + epatch ${FILESDIR}/${P}-gentoo.patch + # Fix compilation issues. See bug #94768. + epatch ${FILESDIR}/${P}-gcc3.4.patch } src_compile() { |