pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2003Q4]: pkgsrc/security/gnupg Pullup a portability fix to the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8efcc34ed7bd
branches:  pkgsrc-2003Q4
changeset: 463698:8efcc34ed7bd
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Dec 08 11:41:19 2003 +0000

description:
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.

diffstat:

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

diffs (35 lines):

diff -r f6ccd8014699 -r 8efcc34ed7bd security/gnupg/distinfo
--- a/security/gnupg/distinfo   Mon Dec 08 11:36:12 2003 +0000
+++ b/security/gnupg/distinfo   Mon Dec 08 11:41:19 2003 +0000
@@ -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-af) = 0ddc5ad0692b365236e6bf643b44d8f70c5b6dd0
 SHA1 (patch-ai) = d590234e1fd272a0f7e7b30d7b885ca2f979daf4
 SHA1 (patch-aj) = 6e682cb89eb8ca185a6e0cc82ea9466b16f598b0
+SHA1 (patch-ak) = bf0d2648382f8737bdda4eac486f23ee76f43b4f
diff -r f6ccd8014699 -r 8efcc34ed7bd security/gnupg/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg/patches/patch-ak   Mon Dec 08 11:41:19 2003 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index