summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-01-03 22:51:47 +0000
committeragc <agc@pkgsrc.org>2005-01-03 22:51:47 +0000
commit52207c4679a0e9d5b88defd9b24880a77fdabf02 (patch)
tree342965eff76212d12948dc6d4cf62af8ed80064e /misc/openoffice/patches
parentd69260e3dfb3e0a1011758dc514f5f9765d0e24a (diff)
downloadpkgsrc-52207c4679a0e9d5b88defd9b24880a77fdabf02.tar.gz
Don't rely on the NetBSD version to define ETIME - define it if it's not
already defined.
Diffstat (limited to 'misc/openoffice/patches')
-rw-r--r--misc/openoffice/patches/patch-aw6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/openoffice/patches/patch-aw b/misc/openoffice/patches/patch-aw
index e20416f03df..7d390057865 100644
--- a/misc/openoffice/patches/patch-aw
+++ b/misc/openoffice/patches/patch-aw
@@ -1,4 +1,4 @@
-$NetBSD: patch-aw,v 1.5 2005/01/03 08:07:26 agc Exp $
+$NetBSD: patch-aw,v 1.6 2005/01/03 22:51:47 agc Exp $
Patch from Rui-Xiang Guo for building on NetBSD-current
@@ -9,9 +9,9 @@ Patch from Rui-Xiang Guo for building on NetBSD-current
#ifdef NETBSD
+# include <sys/param.h>
-+#if (__NetBSD_Version__ < 200000000)
++# ifndef ETIME
# define ETIME ETIMEDOUT
-+#endif
++# endif
# define _POSIX_THREAD_SYSCALL_SOFT 1
# include <pthread.h>
# include <netdb.h>