summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-01-09 21:56:53 +0000
committerjperkin <jperkin@pkgsrc.org>2014-01-09 21:56:53 +0000
commit52e26dd7ae282f7dd284993a0d3342c11cc4102b (patch)
tree3307255372efc9f908e0ac700677d5ec7f2bf35e /graphics
parentdec228875ccb514d0ea09871efa012d96b179661 (diff)
downloadpkgsrc-52e26dd7ae282f7dd284993a0d3342c11cc4102b.tar.gz
SunOS bzero() needs strings.h
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libkdcraw-kde3/distinfo4
-rw-r--r--graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_libraw_libraw__alloc.h16
-rw-r--r--graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp16
3 files changed, 35 insertions, 1 deletions
diff --git a/graphics/libkdcraw-kde3/distinfo b/graphics/libkdcraw-kde3/distinfo
index 7a4938d02c3..f4832d5fd19 100644
--- a/graphics/libkdcraw-kde3/distinfo
+++ b/graphics/libkdcraw-kde3/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/03/19 22:29:41 markd Exp $
+$NetBSD: distinfo,v 1.2 2014/01/09 21:56:53 jperkin Exp $
SHA1 (libkdcraw-0.1.9.tar.bz2) = 85a892e1b3368da9329efce1c0588500d3fe45bc
RMD160 (libkdcraw-0.1.9.tar.bz2) = 489a5a872fcfb24943d0a1cb39cf05ff545f0062
Size (libkdcraw-0.1.9.tar.bz2) = 708121 bytes
SHA1 (patch-aa) = 5e0d9aa6c58ec9e81f262c7d6c473e6048d601d5
+SHA1 (patch-libkdcraw_libraw_libraw_libraw__alloc.h) = 3853dde9d6361a64a22f1bf49fd6e6a1b3590817
+SHA1 (patch-libkdcraw_libraw_src_libraw__cxx.cpp) = 3f9a41b3c2d441556bb21f5f14eb0c5c9532df23
diff --git a/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_libraw_libraw__alloc.h b/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_libraw_libraw__alloc.h
new file mode 100644
index 00000000000..2ded10198bf
--- /dev/null
+++ b/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_libraw_libraw__alloc.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-libkdcraw_libraw_libraw_libraw__alloc.h,v 1.1 2014/01/09 21:56:53 jperkin Exp $
+
+SunOS bzero() needs strings.h
+
+--- libkdcraw/libraw/libraw/libraw_alloc.h.orig 2009-05-10 11:25:49.000000000 +0000
++++ libkdcraw/libraw/libraw/libraw_alloc.h
+@@ -26,6 +26,9 @@
+
+ #include <stdlib.h>
+ #include <string.h>
++#ifdef __sun
++#include <strings.h>
++#endif
+ #ifdef WIN32
+ #define bzero(p,sz) memset(p,0,sz)
+ #endif
diff --git a/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp b/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp
new file mode 100644
index 00000000000..7893d183e73
--- /dev/null
+++ b/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp
@@ -0,0 +1,16 @@
+$NetBSD: patch-libkdcraw_libraw_src_libraw__cxx.cpp,v 1.1 2014/01/09 21:56:53 jperkin Exp $
+
+SunOS bzero() needs strings.h
+
+--- libkdcraw/libraw/src/libraw_cxx.cpp.orig 2009-05-10 11:25:49.000000000 +0000
++++ libkdcraw/libraw/src/libraw_cxx.cpp
+@@ -9,6 +9,9 @@
+ #include <errno.h>
+ #include <float.h>
+ #include <math.h>
++#ifdef __sun
++#include <strings.h>
++#endif
+ #ifndef WIN32
+ #include <netinet/in.h>
+ #else