summaryrefslogtreecommitdiff
path: root/misc/openoffice
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
commit38971962c111aba7ceadebf406c20c1156f38ae7 (patch)
tree342965eff76212d12948dc6d4cf62af8ed80064e /misc/openoffice
parent1e90d6ac785cd1e87de3001e57a5fa99029bc99c (diff)
downloadpkgsrc-38971962c111aba7ceadebf406c20c1156f38ae7.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')
-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>