summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-aw
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice/patches/patch-aw')
-rw-r--r--misc/openoffice/patches/patch-aw17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/openoffice/patches/patch-aw b/misc/openoffice/patches/patch-aw
new file mode 100644
index 00000000000..e20416f03df
--- /dev/null
+++ b/misc/openoffice/patches/patch-aw
@@ -0,0 +1,17 @@
+$NetBSD: patch-aw,v 1.5 2005/01/03 08:07:26 agc Exp $
+
+Patch from Rui-Xiang Guo for building on NetBSD-current
+
+--- ../sal/osl/unx/system.h.orig 2004-11-19 09:23:53.000000000 +0800
++++ ../sal/osl/unx/system.h 2004-11-19 09:27:55.000000000 +0800
+@@ -169,7 +169,10 @@
+ #endif
+
+ #ifdef NETBSD
++# include <sys/param.h>
++#if (__NetBSD_Version__ < 200000000)
+ # define ETIME ETIMEDOUT
++#endif
+ # define _POSIX_THREAD_SYSCALL_SOFT 1
+ # include <pthread.h>
+ # include <netdb.h>