pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnupg Add a patch to handle systems which hav...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b13d0267aa5
branches:  trunk
changeset: 463877:8b13d0267aa5
user:      he <he%pkgsrc.org@localhost>
date:      Mon Dec 01 14:16:17 2003 +0000

description:
Add a patch to handle systems which have uint64_t but not the UINT64_C
macro.  This could happen with UNIX98-type systems, such as the code on
our netbsd-1-5 branch, and would prevent this package from building on
such systems.  Problem also reported to the original author.

diffstat:

 security/gnupg/distinfo         |   3 ++-
 security/gnupg/patches/patch-ak |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 2657434ff96e -r 8b13d0267aa5 security/gnupg/distinfo
--- a/security/gnupg/distinfo   Mon Dec 01 12:16:14 2003 +0000
+++ b/security/gnupg/distinfo   Mon Dec 01 14:16:17 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2003/11/27 23:46:36 heinz Exp $
+$NetBSD: distinfo,v 1.24 2003/12/01 14:16:17 he Exp $
 
 SHA1 (gnupg-1.2.3.tar.bz2) = 1a5f68b52aa04f7370a80c2dfa708accfc64d854
 Size (gnupg-1.2.3.tar.bz2) = 2294773 bytes
@@ -11,3 +11,4 @@
 SHA1 (patch-af) = 0ddc5ad0692b365236e6bf643b44d8f70c5b6dd0
 SHA1 (patch-ai) = d590234e1fd272a0f7e7b30d7b885ca2f979daf4
 SHA1 (patch-aj) = 6e682cb89eb8ca185a6e0cc82ea9466b16f598b0
+SHA1 (patch-ak) = bf0d2648382f8737bdda4eac486f23ee76f43b4f
diff -r 2657434ff96e -r 8b13d0267aa5 security/gnupg/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg/patches/patch-ak   Mon Dec 01 14:16:17 2003 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ak,v 1.1 2003/12/01 14:16:17 he Exp $
+
+--- include/types.h.orig       Wed Jul 30 09:44:43 2003
++++ include/types.h    Sun Nov 30 12:04:15 2003
+@@ -103,7 +103,12 @@
+ #undef u64        /* maybe there is a macro with this name */
+ #if SIZEOF_UINT64_T == 8
+ typedef uint64_t u64;
++#ifdef UINT64_C
+ #define U64_C(c) (UINT64_C(c))
++#else
++      /* make a best guess, could happen with UNIX98 <inttypes.h> */
++#define U64_C(c) (c)
++#endif
+ #define HAVE_U64_TYPEDEF
+ #elif SIZEOF_UNSIGNED_INT == 8
+ typedef unsigned int u64;



Home | Main Index | Thread Index | Old Index