summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-dc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice2/patches/patch-dc')
-rw-r--r--misc/openoffice2/patches/patch-dc13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/openoffice2/patches/patch-dc b/misc/openoffice2/patches/patch-dc
new file mode 100644
index 00000000000..33c30b122bd
--- /dev/null
+++ b/misc/openoffice2/patches/patch-dc
@@ -0,0 +1,13 @@
+$NetBSD: patch-dc,v 1.1 2008/04/07 16:24:51 hira Exp $
+
+--- icc/SampleICC-1.3.2.patch.orig 2008-04-07 18:02:17.000000000 +0900
++++ icc/SampleICC-1.3.2.patch 2008-04-07 18:03:10.000000000 +0900
+@@ -575,7 +575,7 @@
+ ! using namespace std;
+ !
+ ! #ifndef WIN32
+-! #ifdef sun
++! #if defined sun || defined __NetBSD__
+ ! #include <errno.h>
+ ! #else
+ ! #include <sys/errno.h>