summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-21 05:50:57 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-21 05:50:57 +0000
commitd213b0b540e84f1a6eba6c02437f1a4f06dbea72 (patch)
tree398e02e0c7bafeab1408e9d03cf4cab848a87dee /dev-games
parentAdded patch to resolve issues with libgcrypt-1.2.x and closing bug #37281. (diff)
downloadgentoo-2-d213b0b540e84f1a6eba6c02437f1a4f06dbea72.tar.gz
gentoo-2-d213b0b540e84f1a6eba6c02437f1a4f06dbea72.tar.bz2
gentoo-2-d213b0b540e84f1a6eba6c02437f1a4f06dbea72.zip
Added patch for FUNCTION calls and closing bug #118818.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/libggz/ChangeLog6
-rw-r--r--dev-games/libggz/files/libggz-0.0.5-function.patch38
-rw-r--r--dev-games/libggz/libggz-0.0.5.ebuild12
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-games/libggz/ChangeLog b/dev-games/libggz/ChangeLog
index d058f1e35fa5..497b22b7f732 100644
--- a/dev-games/libggz/ChangeLog
+++ b/dev-games/libggz/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/libggz
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/ChangeLog,v 1.8 2006/01/21 05:48:04 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/ChangeLog,v 1.9 2006/01/21 05:50:57 wolf31o2 Exp $
+
+ 21 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/libggz-0.0.5-function.patch, libggz-0.0.5.ebuild:
+ Added patch for FUNCTION calls and closing bug #118818.
21 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+files/libggz-0.0.9-gcrypt.patch, libggz-0.0.9.ebuild:
diff --git a/dev-games/libggz/files/libggz-0.0.5-function.patch b/dev-games/libggz/files/libggz-0.0.5-function.patch
new file mode 100644
index 000000000000..186040b13bc1
--- /dev/null
+++ b/dev-games/libggz/files/libggz-0.0.5-function.patch
@@ -0,0 +1,38 @@
+--- src/ggz.h 2002-04-13 03:32:57.000000000 +0200
++++ /var/tmp/portage/ggz.h 2006-01-12 23:36:48.000000000 +0100
+@@ -69,7 +69,7 @@
+ *
+ * @return a pointer to the newly allocated and zeroed memory
+ */
+-#define ggz_malloc(size) _ggz_malloc(size, __FUNCTION__ " in " __FILE__, __LINE__)
++#define ggz_malloc(size) _ggz_malloc(size, __FILE__, __LINE__)
+
+
+ /**
+@@ -80,7 +80,7 @@
+ *
+ * @return pointer to allocated memory
+ */
+-#define ggz_realloc(mem, size) _ggz_realloc(mem, size, __FUNCTION__ " in " __FILE__, __LINE__)
++#define ggz_realloc(mem, size) _ggz_realloc(mem, size, __FILE__, __LINE__)
+
+
+ /**
+@@ -90,7 +90,7 @@
+ *
+ * @return failure code
+ */
+-#define ggz_free(mem) _ggz_free(mem, __FUNCTION__ " in " __FILE__, __LINE__)
++#define ggz_free(mem) _ggz_free(mem, __FILE__, __LINE__)
+
+
+ /**
+@@ -102,7 +102,7 @@
+ *
+ * @note It is safe to pass a NULL string.
+ */
+-#define ggz_strdup(string) _ggz_strdup(string, __FUNCTION__ " in " __FILE__, __LINE__)
++#define ggz_strdup(string) _ggz_strdup(string, __FILE__, __LINE__)
+
+
+
diff --git a/dev-games/libggz/libggz-0.0.5.ebuild b/dev-games/libggz/libggz-0.0.5.ebuild
index f30714da5b37..6a8413d278e1 100644
--- a/dev-games/libggz/libggz-0.0.5.ebuild
+++ b/dev-games/libggz/libggz-0.0.5.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/libggz-0.0.5.ebuild,v 1.8 2005/01/01 18:01:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/libggz-0.0.5.ebuild,v 1.9 2006/01/21 05:50:57 wolf31o2 Exp $
+
+inherit eutils
DESCRIPTION="The GGZ library, used by GGZ Gameing Zone"
HOMEPAGE="http://ggz.sourceforge.net/"
@@ -13,6 +15,12 @@ IUSE=""
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-function.patch
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS Quick* README*