diff options
author | fredb <fredb@pkgsrc.org> | 2004-05-03 16:42:47 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2004-05-03 16:42:47 +0000 |
commit | b1a69d0f4f0bd767fb2db7eafaf6d5db3c2c81a5 (patch) | |
tree | 4363516b02095a30883dd43026343984b0733923 /graphics | |
parent | 056c3f00e5398eac26a1b519df38d51861a8cd3a (diff) | |
download | pkgsrc-b1a69d0f4f0bd767fb2db7eafaf6d5db3c2c81a5.tar.gz |
Don't play games with the featureset macros on NetBSD. This patch fixes the
build on NetBSD 2.0E/mac68k, also works fine on NetBSD 1.6.2_STABLE/i386.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/netpbm/distinfo | 3 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-af | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo index f73cb328d90..331926d8972 100644 --- a/graphics/netpbm/distinfo +++ b/graphics/netpbm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.20 2004/04/29 08:02:39 adam Exp $ +$NetBSD: distinfo,v 1.21 2004/05/03 16:42:47 fredb Exp $ SHA1 (netpbm-10.18.12.tgz) = ba169ea2060e2f6fc46cfc87bc8e3256aec56f9e Size (netpbm-10.18.12.tgz) = 2090624 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 1a1acf71faea487fce9fb102509b0aab06950fb7 SHA1 (patch-ac) = cd8bb4318828a9872cce2793635c4bc51272d199 SHA1 (patch-ad) = 0ca982f5ee83370b367025d5ddef74a984dc07fe SHA1 (patch-ae) = 8a46f8c0b1c0efe57533dba55d18459135e796ea +SHA1 (patch-af) = 838211acc8a49aac1f5badbad74a9711735558a4 diff --git a/graphics/netpbm/patches/patch-af b/graphics/netpbm/patches/patch-af new file mode 100644 index 00000000000..664352f2770 --- /dev/null +++ b/graphics/netpbm/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.7 2004/05/03 16:42:47 fredb Exp $ + +--- pm_config.h.orig 2004-03-17 21:27:39.000000000 -0600 ++++ pm_config.h +@@ -69,7 +69,7 @@ typedef signed int int32n; + + The problematic C libraries treat _XOPEN_SOURCE the same way. + */ +-#if defined(__OpenBSD__) || defined (__NetBSD__) || defined(__bsdi__) || defined(__APPLE__) ++#if defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) + #define POSIX_IS_IMPLIED + #endif + |