summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp')
-rw-r--r--graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp16
1 files changed, 16 insertions, 0 deletions
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