summaryrefslogtreecommitdiff
path: root/x11/openmotif
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-04 15:20:45 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-04 15:20:45 +0000
commitc108974e6df693b8cc782655365b7e43206e6124 (patch)
treecd465180be31a70424189e7c512953d9a17f8a48 /x11/openmotif
parent0cd53e2ee15a3bbbb158164931fc1c6901f70327 (diff)
downloadpkgsrc-c108974e6df693b8cc782655365b7e43206e6124.tar.gz
getpwuid_r and friends only exist on NetBSD 2.99.10 and higher,
so use them only on those systems.
Diffstat (limited to 'x11/openmotif')
-rw-r--r--x11/openmotif/distinfo4
-rw-r--r--x11/openmotif/patches/patch-ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/openmotif/distinfo b/x11/openmotif/distinfo
index 4abc38e5a5f..c74beff3481 100644
--- a/x11/openmotif/distinfo
+++ b/x11/openmotif/distinfo
@@ -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 --git a/x11/openmotif/patches/patch-ac b/x11/openmotif/patches/patch-ac
index f4bc0d0d9f8..1cfdf2e77eb 100644
--- a/x11/openmotif/patches/patch-ac
+++ b/x11/openmotif/patches/patch-ac
@@ -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 @@ $NetBSD: patch-ac,v 1.3 2005/12/12 19:55:41 joerg Exp $
#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
+