diff options
Diffstat (limited to 'graphics/gimp-ufraw/patches/patch-ab')
-rw-r--r-- | graphics/gimp-ufraw/patches/patch-ab | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/gimp-ufraw/patches/patch-ab b/graphics/gimp-ufraw/patches/patch-ab new file mode 100644 index 00000000000..aea016cef20 --- /dev/null +++ b/graphics/gimp-ufraw/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.3 2005/09/29 13:20:48 gdt Exp $ + +--- dcraw.c.orig 2005-09-15 14:24:38.000000000 -0400 ++++ dcraw.c +@@ -188,7 +188,9 @@ int tone_curve_size = 0, tone_curve_offs + 3 G R G R G R 3 B G B G B G 3 R G R G R G 3 G B G B G B + */ + +-#ifndef __GLIBC__ ++#include <sys/param.h> ++ ++#if !(defined(__GLIBC__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 300000000))) + char *memmem (char *haystack, size_t haystacklen, + char *needle, size_t needlelen) + { |