summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-ce
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib2/patches/patch-ce')
-rw-r--r--devel/glib2/patches/patch-ce12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-ce b/devel/glib2/patches/patch-ce
new file mode 100644
index 00000000000..552be10d426
--- /dev/null
+++ b/devel/glib2/patches/patch-ce
@@ -0,0 +1,12 @@
+$NetBSD: patch-ce,v 1.1 2010/06/01 17:28:31 drochner Exp $
+
+--- glib/gatomic-gcc.c.orig 2010-06-01 15:18:24.000000000 +0000
++++ glib/gatomic-gcc.c
+@@ -22,6 +22,7 @@
+
+ #include "glib.h"
+ #include "galias.h"
++#include "gthreadprivate.h"
+
+ gint
+ g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,