[packages/gtk-webkit3] - add missing inlcude
baggins
baggins at pld-linux.org
Fri Apr 12 08:42:18 CEST 2013
commit f7e1e527e249ee1c853d658bed91619f40fd63ef
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Apr 12 08:41:52 2013 +0200
- add missing inlcude
sync-builtins.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/sync-builtins.patch b/sync-builtins.patch
index c60f1dc..3c252b4 100644
--- a/sync-builtins.patch
+++ b/sync-builtins.patch
@@ -21,7 +21,7 @@
######################################################################################
--- webkitgtk-2.0.0/Source/WTF/wtf/Atomics.h~ 2013-04-12 08:05:55.951740895 +0200
+++ webkitgtk-2.0.0/Source/WTF/wtf/Atomics.h 2013-04-12 08:22:46.701992338 +0200
-@@ -113,8 +113,15 @@
+@@ -113,8 +113,16 @@
inline int atomicIncrement(int volatile* addend) { return __sync_add_and_fetch(addend, 1); }
inline int atomicDecrement(int volatile* addend) { return __sync_sub_and_fetch(addend, 1); }
@@ -29,6 +29,7 @@
inline int64_t atomicIncrement(int64_t volatile* addend) { return __sync_add_and_fetch(addend, 1); }
inline int64_t atomicDecrement(int64_t volatile* addend) { return __sync_sub_and_fetch(addend, 1); }
+#else
++#include <pthread.h>
+static pthread_mutex_t global_wtf_lock = PTHREAD_MUTEX_INITIALIZER;
+
+inline int64_t atomicIncrement(int64_t volatile* addend) { pthread_mutex_lock(&global_wtf_lock); addend++; pthread_mutex_unlock(&global_wtf_lock); return addend; }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit3.git/commitdiff/f7e1e527e249ee1c853d658bed91619f40fd63ef
More information about the pld-cvs-commit
mailing list