pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gimp-ufraw Add patch-ad, similar to graphics/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b830dee20fa
branches:  trunk
changeset: 493020:3b830dee20fa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 25 16:52:10 2005 +0000

description:
Add patch-ad, similar to graphics/dcraw's patch-aa, to fix build on
NetBSD-current. From Greg Troxel in private mail.

diffstat:

 graphics/gimp-ufraw/distinfo         |   3 ++-
 graphics/gimp-ufraw/patches/patch-ad |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r cccbb7c0a61e -r 3b830dee20fa graphics/gimp-ufraw/distinfo
--- a/graphics/gimp-ufraw/distinfo      Mon Apr 25 16:47:18 2005 +0000
+++ b/graphics/gimp-ufraw/distinfo      Mon Apr 25 16:52:10 2005 +0000
@@ -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 @@
 SHA1 (patch-aa) = 4268efb3c00ac5517f6c27d8bcd84d42293f6345
 SHA1 (patch-ab) = 5def994eac734aaf1edf02138e5af29f880b77f3
 SHA1 (patch-ac) = e34fe4f2f6878dbc24a401a5c6b95363b78c3d30
+SHA1 (patch-ad) = bc2183adb63d35f42b6c0d6e77b77e3884d37c3b
diff -r cccbb7c0a61e -r 3b830dee20fa graphics/gimp-ufraw/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp-ufraw/patches/patch-ad      Mon Apr 25 16:52:10 2005 +0000
@@ -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)
+ {



Home | Main Index | Thread Index | Old Index