pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/openoffice/patches Don't rely on the NetBSD versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae5214c95087
branches:  trunk
changeset: 486822:ae5214c95087
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Jan 03 22:51:47 2005 +0000

description:
Don't rely on the NetBSD version to define ETIME - define it if it's not
already defined.

diffstat:

 misc/openoffice/patches/patch-aw |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r df114cffc2c4 -r ae5214c95087 misc/openoffice/patches/patch-aw
--- a/misc/openoffice/patches/patch-aw  Mon Jan 03 22:51:01 2005 +0000
+++ b/misc/openoffice/patches/patch-aw  Mon Jan 03 22:51:47 2005 +0000
@@ -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 @@
  
  #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>



Home | Main Index | Thread Index | Old Index