summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-07-07 16:12:12 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-07-07 16:12:12 +0000
commit913a7a26dbcdb2d1baae5cb1971eb48aec647d05 (patch)
tree310b517a0b9150ad2182d20468a5ea1c638a1a6f /app-crypt/gnupg
parentNew releases. (diff)
downloadgentoo-2-913a7a26dbcdb2d1baae5cb1971eb48aec647d05.tar.gz
gentoo-2-913a7a26dbcdb2d1baae5cb1971eb48aec647d05.tar.bz2
gentoo-2-913a7a26dbcdb2d1baae5cb1971eb48aec647d05.zip
Fixed gettime test, bug#184484, thanks to Rickard Närström
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'app-crypt/gnupg')
-rw-r--r--app-crypt/gnupg/ChangeLog6
-rw-r--r--app-crypt/gnupg/files/gnupg-2.0.5-test.patch12
-rw-r--r--app-crypt/gnupg/gnupg-2.0.5.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/app-crypt/gnupg/ChangeLog b/app-crypt/gnupg/ChangeLog
index 5449b6536406..cc88fd17f970 100644
--- a/app-crypt/gnupg/ChangeLog
+++ b/app-crypt/gnupg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/gnupg
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.298 2007/07/07 08:05:15 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.299 2007/07/07 16:12:12 alonbl Exp $
+
+ 07 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/gnupg-2.0.5-test.patch, gnupg-2.0.5.ebuild:
+ Fixed gettime test, bug#184484, thanks to Rickard Närström
07 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org> gnupg-2.0.5.ebuild:
Fix dependencies, bug#184456
diff --git a/app-crypt/gnupg/files/gnupg-2.0.5-test.patch b/app-crypt/gnupg/files/gnupg-2.0.5-test.patch
new file mode 100644
index 000000000000..6e4b8329faf2
--- /dev/null
+++ b/app-crypt/gnupg/files/gnupg-2.0.5-test.patch
@@ -0,0 +1,12 @@
+diff -urNp gnupg-2.0.5.org/common/t-gettime.c gnupg-2.0.5/common/t-gettime.c
+--- gnupg-2.0.5.org/common/t-gettime.c 2007-07-05 13:05:01.000000000 +0300
++++ gnupg-2.0.5/common/t-gettime.c 2007-07-07 19:04:55.000000000 +0300
+@@ -57,7 +57,7 @@ test_isotime2epoch (void)
+ { NULL, 0 }
+ };
+ int idx;
+- u32 val;
++ time_t val;
+ gnupg_isotime_t tbuf;
+
+ for (idx=0; array[idx].string; idx++)
diff --git a/app-crypt/gnupg/gnupg-2.0.5.ebuild b/app-crypt/gnupg/gnupg-2.0.5.ebuild
index 1ace52e4cfd7..1cba99fff82f 100644
--- a/app-crypt/gnupg/gnupg-2.0.5.ebuild
+++ b/app-crypt/gnupg/gnupg-2.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.5.ebuild,v 1.2 2007/07/07 08:05:15 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.5.ebuild,v 1.3 2007/07/07 16:12:12 alonbl Exp $
inherit flag-o-matic
@@ -42,6 +42,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-2.0.4-idea.patch"
+ epatch "${FILESDIR}/${P}-test.patch"
# parallel make issue
sed -i 's#\.\./common/libcommon#libcommon#g' common/Makefile.in