summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Robert Ray <jrray@gentoo.org>2002-10-23 17:24:01 +0000
committerJ Robert Ray <jrray@gentoo.org>2002-10-23 17:24:01 +0000
commitd4afd9faebf6dde7ab0b184f42f8a23b0ba8f0cd (patch)
tree062f91199d4829b15454ac8f0c0beb563fb61ec2 /dev-libs/ggz-client-libs
parentnew stable version for testing (diff)
downloadhistorical-d4afd9faebf6dde7ab0b184f42f8a23b0ba8f0cd.tar.gz
historical-d4afd9faebf6dde7ab0b184f42f8a23b0ba8f0cd.tar.bz2
historical-d4afd9faebf6dde7ab0b184f42f8a23b0ba8f0cd.zip
Patch to fix configure with gcc3.2, closing bug #9413
Diffstat (limited to 'dev-libs/ggz-client-libs')
-rw-r--r--dev-libs/ggz-client-libs/ChangeLog10
-rw-r--r--dev-libs/ggz-client-libs/files/digest-ggz-client-libs-0.0.5-r11
-rw-r--r--dev-libs/ggz-client-libs/files/ggz-client-libs-0.0.5-gcc32.diff18
-rw-r--r--dev-libs/ggz-client-libs/ggz-client-libs-0.0.5-r1.ebuild32
4 files changed, 60 insertions, 1 deletions
diff --git a/dev-libs/ggz-client-libs/ChangeLog b/dev-libs/ggz-client-libs/ChangeLog
index 5b3d41d60d27..7b3267651851 100644
--- a/dev-libs/ggz-client-libs/ChangeLog
+++ b/dev-libs/ggz-client-libs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/ggz-client-libs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ggz-client-libs/ChangeLog,v 1.2 2002/04/27 21:46:44 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ggz-client-libs/ChangeLog,v 1.3 2002/10/23 17:24:01 jrray Exp $
+
+*ggz-client-libs-0.0.5-r1 (23 Oct 2002)
+
+ 23 Oct 2002; J Robert Ray <jrray@gentoo.org> :
+
+ Patch to prevent -I/usr/include being put in $CPPFLAGS, which was
+ generating a compiler warning with gcc 3.2, causing the configure
+ phase to fail. Closes bug 9413.
*ggz-client-libs-0.0.5 (13 Apr 2002)
diff --git a/dev-libs/ggz-client-libs/files/digest-ggz-client-libs-0.0.5-r1 b/dev-libs/ggz-client-libs/files/digest-ggz-client-libs-0.0.5-r1
new file mode 100644
index 000000000000..c8216c7e1e5d
--- /dev/null
+++ b/dev-libs/ggz-client-libs/files/digest-ggz-client-libs-0.0.5-r1
@@ -0,0 +1 @@
+MD5 31807b773aebf7d2b36677bfb7e37648 ggz-client-libs-0.0.5.tar.gz 256281
diff --git a/dev-libs/ggz-client-libs/files/ggz-client-libs-0.0.5-gcc32.diff b/dev-libs/ggz-client-libs/files/ggz-client-libs-0.0.5-gcc32.diff
new file mode 100644
index 000000000000..731e180d0324
--- /dev/null
+++ b/dev-libs/ggz-client-libs/files/ggz-client-libs-0.0.5-gcc32.diff
@@ -0,0 +1,18 @@
+diff -uNr ggz-client-libs-0.0.5.orig/configure ggz-client-libs-0.0.5/configure
+--- ggz-client-libs-0.0.5.orig/configure 2002-04-13 00:22:59.000000000 -0700
++++ ggz-client-libs-0.0.5/configure 2002-10-23 09:54:29.000000000 -0700
+@@ -984,14 +984,6 @@
+
+
+
+-if test "x${prefix}" = "xNONE"; then
+- CPPFLAGS="$CPPFLAGS -I${ac_default_prefix}/include"
+- LDFLAGS="$LDFLAGS -L${ac_default_prefix}/lib"
+-else
+- CPPFLAGS="$CPPFLAGS -I${prefix}/include"
+- LDFLAGS="$LDFLAGS -L${prefix}/lib"
+-fi
+-
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
diff --git a/dev-libs/ggz-client-libs/ggz-client-libs-0.0.5-r1.ebuild b/dev-libs/ggz-client-libs/ggz-client-libs-0.0.5-r1.ebuild
new file mode 100644
index 000000000000..c6349007b596
--- /dev/null
+++ b/dev-libs/ggz-client-libs/ggz-client-libs-0.0.5-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ggz-client-libs/ggz-client-libs-0.0.5-r1.ebuild,v 1.1 2002/10/23 17:24:01 jrray Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="The client libraries for GGZ Gaming Zone"
+SRC_URI="mirror://sourceforge/ggz/${P}.tar.gz"
+HOMEPAGE="http://ggz.sourceforge.net/"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86 sparc sparc64"
+
+DEPEND=">=dev-libs/libggz-0.0.5
+ dev-libs/expat"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ patch -p1 < ${FILESDIR}/ggz-client-libs-0.0.5-gcc32.diff || die
+}
+
+src_compile() {
+ econf || die "./configure failed"
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog HACKING NEWS Quick* README* TODO
+}