diff options
Diffstat (limited to 'graphics/netpbm/patches/patch-af')
-rw-r--r-- | graphics/netpbm/patches/patch-af | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/netpbm/patches/patch-af b/graphics/netpbm/patches/patch-af index 20b8d4229eb..70bb1b7ce90 100644 --- a/graphics/netpbm/patches/patch-af +++ b/graphics/netpbm/patches/patch-af @@ -1,18 +1,20 @@ -$NetBSD: patch-af,v 1.10 2005/08/22 11:59:31 adam Exp $ +$NetBSD: patch-af,v 1.11 2006/02/14 21:57:44 adam Exp $ ---- converter/other/cameratopam/identify.c.orig 2005-08-15 06:07:25.000000000 +0000 +--- converter/other/cameratopam/identify.c.orig 2005-08-27 19:29:58.000000000 +0200 +++ converter/other/cameratopam/identify.c -@@ -23,7 +23,9 @@ +@@ -23,7 +23,11 @@ static loadRawFn load_raw; +#include <sys/param.h> -+#if !(defined(__GLIBC__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 300000000))) ++#if !(defined(__GLIBC__) \ ++ || (defined(__NetBSD__) && (__NetBSD_Version__ >= 300000000)) \ ++ || (defined(__FreeBSD__) && (__FreeBSD_version >= 600000))) /* This does the same as the function of the same name in the GNU C library */ static const char *memmem (const char *haystack, size_t haystacklen, const char *needle, size_t needlelen) -@@ -34,6 +36,7 @@ static const char *memmem (const char *h +@@ -34,6 +38,7 @@ static const char *memmem (const char *h return c; return NULL; } |