pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/openmotif getpwuid_r and friends only exist on Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6961fec8a6d7
branches:  trunk
changeset: 505535:6961fec8a6d7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jan 04 15:20:45 2006 +0000

description:
getpwuid_r and friends only exist on NetBSD 2.99.10 and higher,
so use them only on those systems.

diffstat:

 x11/openmotif/distinfo         |  4 ++--
 x11/openmotif/patches/patch-ac |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r c9a0a0094cd3 -r 6961fec8a6d7 x11/openmotif/distinfo
--- a/x11/openmotif/distinfo    Wed Jan 04 15:16:11 2006 +0000
+++ b/x11/openmotif/distinfo    Wed Jan 04 15:20:45 2006 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.19 2005/12/12 19:55:41 joerg Exp $
+$NetBSD: distinfo,v 1.20 2006/01/04 15:20:45 joerg Exp $
 
 SHA1 (openMotif-2.2.3.tar.gz) = c463653d9f8e24b35522c3ba6363ddf7a282eab4
 RMD160 (openMotif-2.2.3.tar.gz) = b99230d508da57bca72b6920d28fce4187bf5179
 Size (openMotif-2.2.3.tar.gz) = 5149785 bytes
 SHA1 (patch-aa) = 5c204036a831ca890b196c6f7d23be2fdb848980
 SHA1 (patch-ab) = 2243e335412b124e1ac57f57d25b5afdeacd987c
-SHA1 (patch-ac) = 4bb397b9a57208e47dc88b8b725596ce8c600751
+SHA1 (patch-ac) = c3b5abde1b15ffe2772d026b63e1ce86b68cd003
 SHA1 (patch-ad) = 4903cbf3b9ac6e2dd2f8e327bb33f5743650787e
 SHA1 (patch-ae) = 47db1a43eda588f8502a33a46f1eaf7a72449812
 SHA1 (patch-af) = 5ea54810105cfb2fc9d4a828e32208318e3c5d42
diff -r c9a0a0094cd3 -r 6961fec8a6d7 x11/openmotif/patches/patch-ac
--- a/x11/openmotif/patches/patch-ac    Wed Jan 04 15:16:11 2006 +0000
+++ b/x11/openmotif/patches/patch-ac    Wed Jan 04 15:20:45 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.3 2005/12/12 19:55:41 joerg Exp $
+$NetBSD: patch-ac,v 1.4 2006/01/04 15:20:45 joerg Exp $
 
 --- lib/Xm/Xmos.c.orig 2005-11-25 05:50:57.000000000 +0100
 +++ lib/Xm/Xmos.c
@@ -6,7 +6,7 @@
  
  #include <sys/stat.h>
  
-+#if defined(__NetBSD__) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
++#if defined(__NetBSD__) && __NetBSD_Version >= 299001000 && !defined(_POSIX_THREAD_SAFE_FUNCTIONS) /* NetBSD 2.99.10 */
 +#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
 +#endif
 +



Home | Main Index | Thread Index | Old Index