From 0ed8c5474b6d5033fef536500cfc4d64c6debc66 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 24 Feb 2011 13:37:24 +0100 Subject: update to latest upstream version * fix compile for cris architecture * fix compile under Cygwin. A full glib host build is required for glib-compile-schema and glib-genmarshal --- package/glib/patches/patch-glib_gatomic_c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/glib/patches/patch-glib_gatomic_c (limited to 'package/glib/patches/patch-glib_gatomic_c') diff --git a/package/glib/patches/patch-glib_gatomic_c b/package/glib/patches/patch-glib_gatomic_c new file mode 100644 index 000000000..42d41196b --- /dev/null +++ b/package/glib/patches/patch-glib_gatomic_c @@ -0,0 +1,10 @@ +--- glib-2.27.5.orig/glib/gatomic.c 2010-09-05 06:20:56.000000000 +0200 ++++ glib-2.27.5/glib/gatomic.c 2011-02-18 20:52:37.703561782 +0100 +@@ -882,6 +882,7 @@ g_atomic_pointer_compare_and_exchange (v + + #ifdef DEFINE_WITH_MUTEXES + /* We have to use the slow, but safe locking method */ ++#include "gthread.h" + static GMutex *g_atomic_mutex; + + /** -- cgit v1.2.3