pkgsrc/devel/glib2/patches/patch-ad
jmmv 916ef7dd4a Update to 2.4.0:
GLib-2.4 is a stable release adding an incremental improvement
in functionality over GLib-2.2 while maintaining binary and
source compatibility.  New features include:

General
* Watches for child process exit integrated into the main loop.
* Unicode tables updated to cover all of Unicode-4.0.
* Standard header file for gettext macros, including Q_() macro
  for strings with context.
* Improved seeding for the GRandom random number generator.

Threading
* Atomic operations on integers and pointers.
* GOnce for one-time initialization.

GObject:
* G_DEFINE_TYPE macros for easy definition of GObject types.
* Properties can now be added to interfaces.
* Instance private data allows private data members for objects.
2004-04-01 18:13:31 +00:00

15 lines
591 B
Text

$NetBSD: patch-ad,v 1.8 2004/04/01 18:13:31 jmmv Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=134119
--- gthread/gthread-posix.c.orig 2002-11-04 21:09:47.000000000 +0100
+++ gthread/gthread-posix.c
@@ -97,7 +97,7 @@ static gboolean posix_check_cmd_prio_war
# 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(_POSIX_THREAD_PRIORITY_SCHEDULING)
# define HAVE_PRIORITIES 1
static gint priority_normal_value;
# ifdef __FreeBSD__