diff options
author | wiz <wiz@pkgsrc.org> | 2005-04-25 16:52:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-04-25 16:52:10 +0000 |
commit | 17f7b33feb8d9eaf4557651a7363cc006fa71626 (patch) | |
tree | 22d2bfe5c3ac46cedc156a3cc4bc5775b268492c | |
parent | 192b341cbada03652dcf0a48bfbbd6df3fa71d68 (diff) | |
download | pkgsrc-17f7b33feb8d9eaf4557651a7363cc006fa71626.tar.gz |
Add patch-ad, similar to graphics/dcraw's patch-aa, to fix build on
NetBSD-current. From Greg Troxel in private mail.
-rw-r--r-- | graphics/gimp-ufraw/distinfo | 3 | ||||
-rw-r--r-- | graphics/gimp-ufraw/patches/patch-ad | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/gimp-ufraw/distinfo b/graphics/gimp-ufraw/distinfo index 3f83bcec6a9..a3a0b8bc96e 100644 --- a/graphics/gimp-ufraw/distinfo +++ b/graphics/gimp-ufraw/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/04/13 16:56:57 rillig Exp $ +$NetBSD: distinfo,v 1.7 2005/04/25 16:52:10 wiz Exp $ SHA1 (ufraw-0.4.tar.gz) = dd907171f6e3b0055499f108ba212465839d6f89 RMD160 (ufraw-0.4.tar.gz) = e1a8106305fcc2b5405344cdca28c0fa503dcb66 @@ -6,3 +6,4 @@ Size (ufraw-0.4.tar.gz) = 101409 bytes SHA1 (patch-aa) = 4268efb3c00ac5517f6c27d8bcd84d42293f6345 SHA1 (patch-ab) = 5def994eac734aaf1edf02138e5af29f880b77f3 SHA1 (patch-ac) = e34fe4f2f6878dbc24a401a5c6b95363b78c3d30 +SHA1 (patch-ad) = bc2183adb63d35f42b6c0d6e77b77e3884d37c3b diff --git a/graphics/gimp-ufraw/patches/patch-ad b/graphics/gimp-ufraw/patches/patch-ad new file mode 100644 index 00000000000..07d97ef4ab6 --- /dev/null +++ b/graphics/gimp-ufraw/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 2005/04/25 16:52:11 wiz Exp $ + +--- dcraw.c.orig 2005-02-08 10:04:59.000000000 -0500 ++++ dcraw.c +@@ -181,7 +181,10 @@ int tone_curve_size = 0, tone_curve_offs + + */ + +-#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) + { |