diff options
author | tron <tron@pkgsrc.org> | 2003-01-28 10:15:41 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2003-01-28 10:15:41 +0000 |
commit | 8bf3b67388a4c701b14d1f00f8ea1bc17d4ef75f (patch) | |
tree | b52822c7971a4ebbfa1f9fe24366163e7a77d3a9 /devel/glib2 | |
parent | b04f97655ef3e43c4ba99fccfa04ba0a671eb719 (diff) | |
download | pkgsrc-8bf3b67388a4c701b14d1f00f8ea1bc17d4ef75f.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')
-rw-r--r-- | devel/glib2/Makefile | 5 | ||||
-rw-r--r-- | devel/glib2/distinfo | 3 | ||||
-rw-r--r-- | devel/glib2/patches/patch-aa | 13 |
3 files changed, 17 insertions, 4 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 529afbf88c5..4b380937110 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2003/01/04 19:56:38 jmmv Exp $ -# +# $NetBSD: Makefile,v 1.18 2003/01/28 10:15:41 tron Exp $ DISTNAME= glib-2.2.0 PKGNAME= ${DISTNAME:S/glib/glib2/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.2/ \ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.2/ \ diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index 02a911da534..70b950e0341 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.11 2002/12/24 03:36:58 wiz Exp $ +$NetBSD: distinfo,v 1.12 2003/01/28 10:15:42 tron Exp $ SHA1 (glib-2.2.0.tar.bz2) = ec3c19d2ebb498e1036cec8fcc8ace57331ce290 Size (glib-2.2.0.tar.bz2) = 1494036 bytes +SHA1 (patch-aa) = 667af57d808a64697e9af88db5048e8e7782eaef 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__ |