aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2012-01-03 00:32:36 +0800
committermarcus <marcus@FreeBSD.org>2012-01-03 00:32:36 +0800
commit952b8338935fb5743d5148ed0f1b9d813aba4bae (patch)
treeffea4ded5d4dc19b2e14f89f1ce7e03965a68007 /devel
parent65c05c80a5318ab367487149006d6a39cc9c3237 (diff)
downloadfreebsd-ports-gnome-952b8338935fb5743d5148ed0f1b9d813aba4bae.tar.gz
freebsd-ports-gnome-952b8338935fb5743d5148ed0f1b9d813aba4bae.tar.zst
freebsd-ports-gnome-952b8338935fb5743d5148ed0f1b9d813aba4bae.zip
Add some missing headers in strategic places to remove text relocations and
potentially fix linker errors with certain linkers/versions of binutils. PR: 163115 Submitted by: Jilles Tjoelker <jilles@stack.nl>
Diffstat (limited to 'devel')
-rw-r--r--devel/glib20/files/patch-glib_fix_hidden21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/glib20/files/patch-glib_fix_hidden b/devel/glib20/files/patch-glib_fix_hidden
new file mode 100644
index 000000000000..b0cb4ecfdf3a
--- /dev/null
+++ b/devel/glib20/files/patch-glib_fix_hidden
@@ -0,0 +1,21 @@
+--- glib/gatomic-gcc.c.orig 2011-06-06 01:18:49.000000000 +0200
++++ glib/gatomic-gcc.c 2011-12-07 00:24:48.000000000 +0100
+@@ -22,6 +22,8 @@
+
+ #include "gatomic.h"
+
++#include "gthreadprivate.h"
++
+ gint
+ g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
+ gint val)
+--- glib/gmem.c.orig 2011-02-10 00:31:42.000000000 +0100
++++ glib/gmem.c 2011-12-07 00:21:38.000000000 +0100
+@@ -39,6 +39,7 @@
+ #include "gbacktrace.h"
+ #include "gtestutils.h"
+ #include "gthread.h"
++#include "gthreadprivate.h"
+ #include "glib_trace.h"
+
+ \ No newline at end of file