summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-21 05:48:04 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-21 05:48:04 +0000
commitb5d83fcb596a2da816f656f9ede39f93aaa5a64a (patch)
tree93aafc188973ad31f38f2f6eec309df503e682fa /dev-games/libggz
parentStable on hppa (bug #119466). (diff)
downloadhistorical-b5d83fcb596a2da816f656f9ede39f93aaa5a64a.tar.gz
historical-b5d83fcb596a2da816f656f9ede39f93aaa5a64a.tar.bz2
historical-b5d83fcb596a2da816f656f9ede39f93aaa5a64a.zip
Added patch to resolve issues with libgcrypt-1.2.x and closing bug #37281.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-games/libggz')
-rw-r--r--dev-games/libggz/ChangeLog8
-rw-r--r--dev-games/libggz/Manifest9
-rw-r--r--dev-games/libggz/files/libggz-0.0.9-gcrypt.patch11
-rw-r--r--dev-games/libggz/libggz-0.0.9.ebuild12
4 files changed, 32 insertions, 8 deletions
diff --git a/dev-games/libggz/ChangeLog b/dev-games/libggz/ChangeLog
index 720d008cd84c..d058f1e35fa5 100644
--- a/dev-games/libggz/ChangeLog
+++ b/dev-games/libggz/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/libggz
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/ChangeLog,v 1.7 2005/01/01 18:01:08 eradicator Exp $
+# 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 $
+
+ 21 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/libggz-0.0.9-gcrypt.patch, libggz-0.0.9.ebuild:
+ Added patch to resolve issues with libgcrypt-1.2.x and closing bug #37281.
*libggz-0.0.9 (16 Aug 2004)
diff --git a/dev-games/libggz/Manifest b/dev-games/libggz/Manifest
index f7b53dee4df3..e1bffda5815d 100644
--- a/dev-games/libggz/Manifest
+++ b/dev-games/libggz/Manifest
@@ -1,6 +1,7 @@
-MD5 88ba8aaf5e7957c65fbb9e1be9cd1d80 ChangeLog 1035
-MD5 8bcdaa039a7eb786db4353141f48d6d2 libggz-0.0.5.ebuild 572
-MD5 665c31fd905d36415b61c101784ff673 metadata.xml 428
-MD5 408b55db75ac55c7667fda9fedbf000d libggz-0.0.9.ebuild 867
+MD5 c77d382ffdae706ff3bf4f3080f4f6e3 ChangeLog 1222
MD5 b1ddcfdc5b91e28c37244742f4682f7a files/digest-libggz-0.0.5 64
MD5 8dcac2e2a6caf2112b72d169cfbaaa92 files/digest-libggz-0.0.9 64
+MD5 02e7f985d3a33bf715217b4e7cad7011 files/libggz-0.0.9-gcrypt.patch 316
+MD5 8bcdaa039a7eb786db4353141f48d6d2 libggz-0.0.5.ebuild 572
+MD5 cab2f3da62fa75478e01193867282ac4 libggz-0.0.9.ebuild 959
+MD5 665c31fd905d36415b61c101784ff673 metadata.xml 428
diff --git a/dev-games/libggz/files/libggz-0.0.9-gcrypt.patch b/dev-games/libggz/files/libggz-0.0.9-gcrypt.patch
new file mode 100644
index 000000000000..3c5754976000
--- /dev/null
+++ b/dev-games/libggz/files/libggz-0.0.9-gcrypt.patch
@@ -0,0 +1,11 @@
+--- src/security/hashfunc.c 2006-01-18 07:57:42.000000000 +0100
++++ src/security/hashfunc.c.new 2006-01-18 07:58:33.000000000 +0100
+@@ -36,7 +36,7 @@
+ return hash;
+ }
+
+- handle = gcry_md_open(0, flags);
++ gcry_md_open(&handle, 0, flags);
+ if(!handle)
+ {
+ fprintf(stderr, "Error: couldn't create handle.\n");
diff --git a/dev-games/libggz/libggz-0.0.9.ebuild b/dev-games/libggz/libggz-0.0.9.ebuild
index 207eb72baed0..fc14a1090112 100644
--- a/dev-games/libggz/libggz-0.0.9.ebuild
+++ b/dev-games/libggz/libggz-0.0.9.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.9.ebuild,v 1.2 2005/01/01 18:01:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/libggz-0.0.9.ebuild,v 1.3 2006/01/21 05:48:04 wolf31o2 Exp $
+
+inherit eutils
DESCRIPTION="The GGZ library, used by GGZ Gaming Zone"
HOMEPAGE="http://www.ggzgamingzone.org/"
@@ -15,6 +17,12 @@ DEPEND="virtual/libc
crypt? ( >=dev-libs/libgcrypt-1.1.8 )
ssl? ( dev-libs/openssl )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcrypt.patch
+}
+
src_compile() {
local myconf=""
use ssl && myconf="--with-tls=OpenSSL"