diff options
-rw-r--r-- | devel/popt/distinfo | 4 | ||||
-rw-r--r-- | devel/popt/patches/patch-lookup3.c | 16 | ||||
-rw-r--r-- | devel/popt/patches/patch-poptint.h | 16 |
3 files changed, 35 insertions, 1 deletions
diff --git a/devel/popt/distinfo b/devel/popt/distinfo index cb32b05a09f..0762689599c 100644 --- a/devel/popt/distinfo +++ b/devel/popt/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.22 2010/06/05 13:26:46 wiz Exp $ +$NetBSD: distinfo,v 1.23 2011/04/01 21:28:32 tez Exp $ SHA1 (popt-1.16.tar.gz) = cfe94a15a2404db85858a81ff8de27c8ff3e235e RMD160 (popt-1.16.tar.gz) = 9c52bff97259de4010499f69c76d2a6396920342 Size (popt-1.16.tar.gz) = 702769 bytes SHA1 (patch-aa) = 7edb4bbd7fe044da9f388159fdc22327377e267e +SHA1 (patch-lookup3.c) = 7643b577c0913742fc4333c4469d606d81b6aa98 +SHA1 (patch-poptint.h) = c26b97bdeedf8a057009dfca985eb9287220f54b diff --git a/devel/popt/patches/patch-lookup3.c b/devel/popt/patches/patch-lookup3.c new file mode 100644 index 00000000000..a95b2ba0385 --- /dev/null +++ b/devel/popt/patches/patch-lookup3.c @@ -0,0 +1,16 @@ +$NetBSD: patch-lookup3.c,v 1.1 2011/04/01 21:28:32 tez Exp $ + +Don't include stdint.h if it does not exist. Fixes PR#44770 + +--- lookup3.c.orig 2011-04-01 21:06:28.047391300 +0000 ++++ lookup3.c +@@ -34,7 +34,9 @@ + */ + /* -------------------------------------------------------------------- */ + ++#ifdef HAVE_STDINT_H + #include <stdint.h> ++#endif + + #if defined(_JLU3_SELFTEST) + # define _JLU3_jlu32w 1 diff --git a/devel/popt/patches/patch-poptint.h b/devel/popt/patches/patch-poptint.h new file mode 100644 index 00000000000..7fd1878a9bf --- /dev/null +++ b/devel/popt/patches/patch-poptint.h @@ -0,0 +1,16 @@ +$NetBSD: patch-poptint.h,v 1.1 2011/04/01 21:28:32 tez Exp $ + +Don't include stdint.h if it does not exist. Fixes PR#44770 + +--- poptint.h.orig 2011-04-01 21:07:17.593937200 +0000 ++++ poptint.h +@@ -9,7 +9,9 @@ + #ifndef H_POPTINT + #define H_POPTINT + ++#ifdef HAVE_STDINT_H + #include <stdint.h> ++#endif + + /** + * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. |