[anerley] Add patch to not call g_thread_init()
Milan Crha
mcrha at fedoraproject.org
Wed Nov 30 07:15:07 UTC 2011
commit 596a3753f346c6d59083317e315372e864e21a2a
Author: Milan Crha <mcrha at redhat.com>
Date: Wed Nov 30 08:14:55 2011 +0100
Add patch to not call g_thread_init()
anerley-0.3.0-no-g-thread-init.patch | 12 ++++++++++++
anerley.spec | 5 ++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/anerley-0.3.0-no-g-thread-init.patch b/anerley-0.3.0-no-g-thread-init.patch
new file mode 100644
index 0000000..2aeb0fc
--- /dev/null
+++ b/anerley-0.3.0-no-g-thread-init.patch
@@ -0,0 +1,12 @@
+diff -up anerley-0.3.0/tests/test-simple-ui.c.no-g-thread-init anerley-0.3.0/tests/test-simple-ui.c
+--- anerley-0.3.0/tests/test-simple-ui.c.no-g-thread-init 2011-11-30 07:50:31.590970336 +0100
++++ anerley-0.3.0/tests/test-simple-ui.c 2011-11-30 07:50:45.399133642 +0100
+@@ -61,7 +61,7 @@ main (int argc,
+ ClutterActor *tmp;
+
+
+- g_thread_init (NULL);
++ g_type_init ();
+
+ clutter_init (&argc, &argv);
+
diff --git a/anerley.spec b/anerley.spec
index 33b0ede..7e8a8b0 100644
--- a/anerley.spec
+++ b/anerley.spec
@@ -14,6 +14,7 @@ License: LGPLv2
URL: http://www.meego.com
Source0: %{tarfile}
Patch0: anerley-0.3.0-mx-gtk.patch
+Patch1: anerley-0.3.0-no-g-thread-init.patch
BuildRequires: evolution-data-server-devel
BuildRequires: glib2-devel
BuildRequires: libmx-devel
@@ -38,11 +39,12 @@ Files for development with %{name}.
%prep
%setup -q
%patch0 -p1 -b .mx-gtk
+%patch1 -p1 -b .no-g-thread-init
+%build
# Require until stable tar ball release
NOCONFIGURE=yes ./autogen.sh
-%build
%configure --disable-static
make %{?_smp_mflags}
@@ -73,6 +75,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Sun Nov 27 2011 Peter Robinson <pbrobinson at fedoraproject.org> - 1:0.3.0-7
- Rebuild against newer evolution-data-server
+- Add patch to not call g_thread_init()
* Sun Oct 30 2011 Bruno Wolff III <bruno at wolff.to> - 1:0.3.0-6
- Rebuild against newer evolution-data-server
More information about the scm-commits
mailing list