summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2003-12-08 11:41:19 +0000
committeragc <agc>2003-12-08 11:41:19 +0000
commit8de771bcccae3285137f3e63b589f819e27b29f1 (patch)
tree86b329289ec48b43ea5d57144f515463c906df96
parent94dc0521d50b2a787a3114bfb7ab4c2ad7c59fe6 (diff)
downloadpkgsrc-8de771bcccae3285137f3e63b589f819e27b29f1.tar.gz
Pullup a portability fix to the pkgsrc-2003Q4 branch, requested by
Havard Eidnes. Module Name: pkgsrc Committed By: he Date: Mon Dec 1 14:16:18 UTC 2003 Modified Files: pkgsrc/security/gnupg: distinfo Added Files: pkgsrc/security/gnupg/patches: patch-ak Log Message: 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.
-rw-r--r--security/gnupg/distinfo3
-rw-r--r--security/gnupg/patches/patch-ak17
2 files changed, 19 insertions, 1 deletions
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 23b7829c56a..7ee725606d0 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21.2.1 2003/12/08 11:36:12 agc Exp $
+$NetBSD: distinfo,v 1.21.2.2 2003/12/08 11:41:19 agc Exp $
SHA1 (gnupg-1.2.3.tar.bz2) = 1a5f68b52aa04f7370a80c2dfa708accfc64d854
Size (gnupg-1.2.3.tar.bz2) = 2294773 bytes
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = fdcda5736583ba3c5807928d1b958e10e1d8fc06
SHA1 (patch-af) = 0ddc5ad0692b365236e6bf643b44d8f70c5b6dd0
SHA1 (patch-ai) = d590234e1fd272a0f7e7b30d7b885ca2f979daf4
SHA1 (patch-aj) = 6e682cb89eb8ca185a6e0cc82ea9466b16f598b0
+SHA1 (patch-ak) = bf0d2648382f8737bdda4eac486f23ee76f43b4f
diff --git a/security/gnupg/patches/patch-ak b/security/gnupg/patches/patch-ak
new file mode 100644
index 00000000000..7ce541cb2cc
--- /dev/null
+++ b/security/gnupg/patches/patch-ak
@@ -0,0 +1,17 @@
+$NetBSD: patch-ak,v 1.1.2.2 2003/12/08 11:41:19 agc 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;