
Status: dirty workaround for http://www.freebsd.org/cgi/query-pr.cgi?pr=76485

diff -Nur glib2.0-2.4.8.old/debian/patches/001_hack.diff glib2.0-2.4.8/debian/patches/001_hack.diff
--- glib2.0-2.4.8.old/debian/patches/001_hack.diff	1970-01-01 01:00:00.000000000 +0100
+++ glib2.0-2.4.8/debian/patches/001_hack.diff	2005-01-20 01:22:19.000000000 +0100
@@ -0,0 +1,12 @@
+diff -ur glib-2.4.8.old/gthread/gthread-posix.c glib-2.4.8/gthread/gthread-posix.c
+--- glib-2.4.8.old/gthread/gthread-posix.c	2002-11-04 21:09:47.000000000 +0100
++++ glib-2.4.8/gthread/gthread-posix.c	2005-01-20 01:21:59.000000000 +0100
+@@ -133,7 +133,7 @@
+     struct sched_param sched;
+     int policy;
+     posix_check_cmd (pthread_getschedparam (pthread_self(), &policy, &sched));
+-    priority_normal_value = sched.sched_priority;
++    priority_normal_value = 0;
+   }
+ # else /* G_THREADS_IMPL_DCE */
+   posix_check_cmd (priority_normal_value = 
