[uzbl] Update gthread patch
Ben Boeckel
mathstuf at fedoraproject.org
Tue Oct 25 18:44:01 UTC 2011
commit 0dcd6c6f4808a9546d634c165aae578af0d8417b
Author: Ben Boeckel <MathStuf at gmail.com>
Date: Tue Oct 25 14:41:19 2011 -0400
Update gthread patch
0002-Check-if-glib-needs-g_thread_init.patch | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/0002-Check-if-glib-needs-g_thread_init.patch b/0002-Check-if-glib-needs-g_thread_init.patch
index 3613444..62ca054 100644
--- a/0002-Check-if-glib-needs-g_thread_init.patch
+++ b/0002-Check-if-glib-needs-g_thread_init.patch
@@ -1,4 +1,4 @@
-From cfa68177245890a03e467412075f84e9c9647c71 Mon Sep 17 00:00:00 2001
+From 47f84c9c76366da2fefff0fd29d57712c695bc68 Mon Sep 17 00:00:00 2001
From: Ben Boeckel <MathStuf at gmail.com>
Date: Tue, 25 Oct 2011 14:24:10 -0400
Subject: [PATCH 2/2] Check if glib needs g_thread_init
@@ -13,7 +13,7 @@ about when it will be removed for a while either.
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
-index 00a8f89..86ff7f6 100644
+index 00a8f89..83be153 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,11 @@ endif
@@ -21,7 +21,7 @@ index 00a8f89..86ff7f6 100644
REQ_PKGS += libsoup-2.4 gthread-2.0 glib-2.0
+# Check for a new glib version
-+ifeq ($(shell pkg-config --exists "glib-2.0 >= 2.31.0"),1)
++ifeq ($(shell pkg-config --exists "glib-2.0 >= 2.31.0" && echo 1),1)
+ CPPFLAGS += -DUZBL_GTHREAD_NO_INIT
+endif
+
More information about the scm-commits
mailing list