OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Oct-2006 12:02:06
Branch: HEAD Handle: 2006102411020500
Modified files:
openpkg-src/glib2 glib2.patch glib2.spec
Log:
fix thread library dependency detection (upstream bugreport will be
sent, too) by a cruel workaround. This implicitly fixes all other
packages depending on glib2 and its gthread2 stuff
Summary:
Revision Changes Path
1.5 +18 -6 openpkg-src/glib2/glib2.patch
1.77 +1 -1 openpkg-src/glib2/glib2.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/glib2/glib2.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 glib2.patch
--- openpkg-src/glib2/glib2.patch 2 Oct 2006 05:51:41 -0000 1.4
+++ openpkg-src/glib2/glib2.patch 24 Oct 2006 10:02:05 -0000 1.5
@@ -1,6 +1,18 @@
+Index: configure
+--- configure.orig 2006-10-02 01:05:29.000000000 +0200
++++ configure 2006-10-24 11:54:36.072847414 +0200
+@@ -34128,7 +34128,7 @@
+ add_thread_lib="-l$thread_lib"
+ IN=" in -l$thread_lib"
+ fi
+- LIBS="$add_thread_lib $glib_save_LIBS"
++ LIBS="$add_thread_lib `echo x$glib_save_LIBS | sed -e 's;^x;;' -e
's;-lrt;;'`"
+
+ echo "$as_me:$LINENO: checking for sched_get_priority_min$IN"
>&5
+ echo $ECHO_N "checking for sched_get_priority_min$IN... $ECHO_C" >&6
Index: glib/gtimer.c
---- glib/gtimer.c.orig 2006-10-01 07:51:15 +0200
-+++ glib/gtimer.c 2006-10-02 07:48:30 +0200
+--- glib/gtimer.c.orig 2006-10-01 07:51:15.000000000 +0200
++++ glib/gtimer.c 2006-10-24 11:53:59.538290388 +0200
@@ -257,7 +257,7 @@
if (microseconds)
@@ -11,8 +23,8 @@
GETTIME (timer->end);
Index: gmodule/gmodule-dl.c
---- gmodule/gmodule-dl.c.orig 2004-02-20 02:41:00 +0100
-+++ gmodule/gmodule-dl.c 2006-10-02 07:42:55 +0200
+--- gmodule/gmodule-dl.c.orig 2004-02-20 02:41:00.000000000 +0100
++++ gmodule/gmodule-dl.c 2006-10-24 11:53:59.538582104 +0200
@@ -106,6 +106,7 @@
static gpointer
_g_module_self (void)
@@ -32,8 +44,8 @@
static void
Index: tests/errorcheck-mutex-test.c
---- tests/errorcheck-mutex-test.c.orig 2006-05-11 01:58:26 +0200
-+++ tests/errorcheck-mutex-test.c 2006-10-02 07:42:55 +0200
+--- tests/errorcheck-mutex-test.c.orig 2006-05-11 01:58:26.000000000
+0200
++++ tests/errorcheck-mutex-test.c 2006-10-24 11:53:59.538736913 +0200
@@ -1,3 +1,5 @@
+#ifdef G_THREADS_ENABLED
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/glib2/glib2.spec
============================================================================
$ cvs diff -u -r1.76 -r1.77 glib2.spec
--- openpkg-src/glib2/glib2.spec 13 Oct 2006 17:28:25 -0000 1.76
+++ openpkg-src/glib2/glib2.spec 24 Oct 2006 10:02:05 -0000 1.77
@@ -37,7 +37,7 @@
Group: Algorithm
License: GPL
Version: %{V_glib2_major}.%{V_glib2_minor}
-Release: 20061013
+Release: 20061024
# package options
%option with_threads yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]