diff options
author | tron <tron> | 2003-01-28 10:15:41 +0000 |
---|---|---|
committer | tron <tron> | 2003-01-28 10:15:41 +0000 |
commit | 38939ab1f60bde5cb8b04376539adda4b99d05ca (patch) | |
tree | b52822c7971a4ebbfa1f9fe24366163e7a77d3a9 /devel/glib2/patches | |
parent | 6cf5f60be1541761d1283ebe8d7db6ab123849bd (diff) | |
download | pkgsrc-38939ab1f60bde5cb8b04376539adda4b99d05ca.tar.gz |
Don't try to use pthread_getschedparam() or pthread_setschedparam() under
NetBSD. This change makes this package work with "nathanw_sa". Bump
package revision to reflect the change.
Diffstat (limited to 'devel/glib2/patches')
-rw-r--r-- | devel/glib2/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-aa b/devel/glib2/patches/patch-aa new file mode 100644 index 00000000000..5fa7b83c334 --- /dev/null +++ b/devel/glib2/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.6 2003/01/28 10:15:44 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 +@@ -97,7 +97,7 @@ + # error This should not happen. Contact the GLib team. + #endif + +-#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) ++#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) && !defined(__NetBSD__) + # define HAVE_PRIORITIES 1 + static gint priority_normal_value; + # ifdef __FreeBSD__ |