diff options
author | tron <tron@pkgsrc.org> | 2003-01-28 18:28:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2003-01-28 18:28:17 +0000 |
commit | 2c103c342159129c44aceb374228eb07026558f7 (patch) | |
tree | 67211d94d6c77252a27e28a40981bd1175e5fca7 /devel/glib2 | |
parent | e17bf7a66231bfd8bd15b70581585b693964e34b (diff) | |
download | pkgsrc-2c103c342159129c44aceb374228eb07026558f7.tar.gz |
Check for symbol "_POSIX_THREAD_PRIORITY_SCHEDULING" instead of
"__NetBSD__" to detect existance of pthread_attr_getschedparam() and
pthread_attr_setschedparam() as suggested by Nathan J. Williams.
Diffstat (limited to 'devel/glib2')
-rw-r--r-- | devel/glib2/distinfo | 4 | ||||
-rw-r--r-- | devel/glib2/patches/patch-aa | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index 70b950e0341..146d5bd45c9 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.12 2003/01/28 10:15:42 tron Exp $ +$NetBSD: distinfo,v 1.13 2003/01/28 18:28:17 tron Exp $ SHA1 (glib-2.2.0.tar.bz2) = ec3c19d2ebb498e1036cec8fcc8ace57331ce290 Size (glib-2.2.0.tar.bz2) = 1494036 bytes -SHA1 (patch-aa) = 667af57d808a64697e9af88db5048e8e7782eaef +SHA1 (patch-aa) = a72d9f5dcf0902783aed02650450dca3847b46a7 diff --git a/devel/glib2/patches/patch-aa b/devel/glib2/patches/patch-aa index 5fa7b83c334..f7809924ca7 100644 --- a/devel/glib2/patches/patch-aa +++ b/devel/glib2/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.6 2003/01/28 10:15:44 tron Exp $ +$NetBSD: patch-aa,v 1.7 2003/01/28 18:28:17 tron Exp $ --- gthread/gthread-posix.c.orig 2002-11-04 21:04:55.000000000 +0100 +++ gthread/gthread-posix.c 2003-01-28 11:05:52.000000000 +0100 @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.6 2003/01/28 10:15:44 tron Exp $ #endif -#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) -+#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) && !defined(__NetBSD__) ++#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) && !defined(_POSIX_THREAD_PRIORITY_SCHEDULING) # define HAVE_PRIORITIES 1 static gint priority_normal_value; # ifdef __FreeBSD__ |