diff options
-rw-r--r-- | graphics/netpbm/distinfo | 6 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-da | 16 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-db | 16 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-dc | 16 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-dd | 16 |
5 files changed, 69 insertions, 1 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo index 5ef5f6ff091..585d94cb9d1 100644 --- a/graphics/netpbm/distinfo +++ b/graphics/netpbm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.62 2006/10/11 18:44:25 rillig Exp $ +$NetBSD: distinfo,v 1.63 2006/11/03 07:45:19 rillig Exp $ SHA1 (netpbm-10.34.tgz) = 530458871f9d3dc763a1bf82f227eeb79098c601 RMD160 (netpbm-10.34.tgz) = 57a596efa6cacb981135d554a72cbaffc4cfe72c @@ -28,3 +28,7 @@ SHA1 (patch-av) = ef10c607f40dc5cc64dc77c04b1daca4e0ce34eb SHA1 (patch-aw) = bd890324e95fa7bb893d9d5cdab9d5a33dcff777 SHA1 (patch-ca) = b63be9bd38dd182949edf3b892608b72d13c1fa0 SHA1 (patch-cb) = b1be33ae6acfe57bf2f407cd48a6b140c3ddea85 +SHA1 (patch-da) = 37b30f7b6674150685d406570802a7250dce51a6 +SHA1 (patch-db) = 028f1c8b879d640f3f04dfb252c5efca21949031 +SHA1 (patch-dc) = 8ed1365dccf5abb0e158a4f7a65749ff5b244ef3 +SHA1 (patch-dd) = b64f1826549ffd949e19cb986e1e367918ccf5ba diff --git a/graphics/netpbm/patches/patch-da b/graphics/netpbm/patches/patch-da new file mode 100644 index 00000000000..2566b722cc5 --- /dev/null +++ b/graphics/netpbm/patches/patch-da @@ -0,0 +1,16 @@ +$NetBSD: patch-da,v 1.1 2006/11/03 07:45:19 rillig Exp $ + +--- converter/other/jpeg2000/pamtojpeg2k.c.orig Tue Oct 31 09:41:12 2006 ++++ converter/other/jpeg2000/pamtojpeg2k.c Tue Oct 31 10:53:02 2006 +@@ -9,7 +9,11 @@ + *****************************************************************************/ + + #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ ++#ifdef __osf__ ++#define _OSF_SOURCE ++#else + #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ ++#endif /* __osf__ */ + #include <string.h> + + #include "pam.h" diff --git a/graphics/netpbm/patches/patch-db b/graphics/netpbm/patches/patch-db new file mode 100644 index 00000000000..220427dcb6b --- /dev/null +++ b/graphics/netpbm/patches/patch-db @@ -0,0 +1,16 @@ +$NetBSD: patch-db,v 1.1 2006/11/03 07:45:19 rillig Exp $ + +--- converter/other/jpeg2000/jpeg2ktopam.c.orig Tue Oct 31 09:41:56 2006 ++++ converter/other/jpeg2000/jpeg2ktopam.c Tue Oct 31 10:52:39 2006 +@@ -9,7 +9,11 @@ + *****************************************************************************/ + + #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ ++#ifdef __osf__ ++#define _OSF_SOURCE ++#else + #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ ++#endif /* __osf__ */ + #include <string.h> + + #include "pam.h" diff --git a/graphics/netpbm/patches/patch-dc b/graphics/netpbm/patches/patch-dc new file mode 100644 index 00000000000..a45a1cb99c9 --- /dev/null +++ b/graphics/netpbm/patches/patch-dc @@ -0,0 +1,16 @@ +$NetBSD: patch-dc,v 1.1 2006/11/03 07:45:19 rillig Exp $ + +--- converter/other/cameratopam/camera.c.orig Tue Oct 31 09:49:45 2006 ++++ converter/other/cameratopam/camera.c Tue Oct 31 10:55:38 2006 +@@ -1,7 +1,11 @@ + #define _BSD_SOURCE + /* Make sure strcasecmp is in string.h */ ++#ifdef __osf__ ++#define _OSF_SOURCE ++#else + #define _XOPEN_SOURCE + /* Make sure putenv is in stdlib.h */ ++#endif /* __osf__ */ + #define __EXTENSIONS__ + + #include <stdlib.h> diff --git a/graphics/netpbm/patches/patch-dd b/graphics/netpbm/patches/patch-dd new file mode 100644 index 00000000000..1b9e8ef2048 --- /dev/null +++ b/graphics/netpbm/patches/patch-dd @@ -0,0 +1,16 @@ +$NetBSD: patch-dd,v 1.1 2006/11/03 07:45:19 rillig Exp $ + +--- converter/other/cameratopam/cameratopam.c.orig Tue Oct 31 09:55:51 2006 ++++ converter/other/cameratopam/cameratopam.c Tue Oct 31 10:55:17 2006 +@@ -18,7 +18,11 @@ + */ + #include <time.h> + ++#ifdef __osf__ ++#define _OSF_SOURCE ++#else + #define _XOPEN_SOURCE /* Make sure unistd.h contains swab() */ ++#endif /* __osf__ */ + + #include <ctype.h> + #include <unistd.h> |