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-ce36
1 files changed, 0 insertions, 36 deletions
diff --git a/devel/glib2/patches/patch-ce b/devel/glib2/patches/patch-ce
deleted file mode 100644
index 0379cbd1b5e..00000000000
--- a/devel/glib2/patches/patch-ce
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ce,v 1.6 2013/06/23 04:26:49 tsutsui Exp $
-
-Fix inconsistency of .hidden attributes, leading to link error on amd64,
-reported by Tobias Nygren.
-
---- glib/gatomic.c.orig 2013-06-09 22:03:17.000000000 +0000
-+++ glib/gatomic.c
-@@ -22,6 +22,7 @@
- #include "config.h"
-
- #include "gatomic.h"
-+#include "gthreadprivate.h"
-
- /**
- * SECTION:atomic_operations
-@@ -682,7 +683,7 @@ gsize
- static pthread_mutex_t g_atomic_lock = PTHREAD_MUTEX_INITIALIZER;
-
- gint
--(g_atomic_int_get) (volatile gint *atomic)
-+(g_atomic_int_get) (const volatile gint *atomic)
- {
- gint value;
-
-@@ -797,9 +798,9 @@ guint
-
-
- gpointer
--(g_atomic_pointer_get) (volatile void *atomic)
-+(g_atomic_pointer_get) (const volatile void *atomic)
- {
-- volatile gpointer *ptr = atomic;
-+ const volatile gpointer *ptr = atomic;
- gpointer value;
-
- pthread_mutex_lock (&g_atomic_lock);