diff options
author | he <he@pkgsrc.org> | 2003-12-01 14:16:17 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2003-12-01 14:16:17 +0000 |
commit | 2a8b055632a2d5c0c0eaa65b758aa0741b210d01 (patch) | |
tree | 40313036bcf2c1c2dfa4863b75c53432808ea4d4 /security | |
parent | e204efe934177ca96a404e55817d3bcc63d52cd6 (diff) | |
download | pkgsrc-2a8b055632a2d5c0c0eaa65b758aa0741b210d01.tar.gz |
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 (limited to 'security')
-rw-r--r-- | security/gnupg/distinfo | 3 | ||||
-rw-r--r-- | security/gnupg/patches/patch-ak | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo index c857f989795..456565cb2f5 100644 --- a/security/gnupg/distinfo +++ b/security/gnupg/distinfo @@ -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-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..f8bb135e776 --- /dev/null +++ b/security/gnupg/patches/patch-ak @@ -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; |