summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-04-14 21:09:07 +0000
committerdholland <dholland@pkgsrc.org>2016-04-14 21:09:07 +0000
commit22180e9ad241f520811ee2a8ac6318b5b441172b (patch)
treec569297cac637e52cab3531a3763533fc5973f10 /www/seamonkey/patches
parent6bfedca3087db95a60848a910cc73fccfaf75640 (diff)
downloadpkgsrc-22180e9ad241f520811ee2a8ac6318b5b441172b.tar.gz
Swipe patch from firefox to fix build on -current.
Diffstat (limited to 'www/seamonkey/patches')
-rw-r--r--www/seamonkey/patches/patch-mozilla_xpcom_components_Module.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_components_Module.h b/www/seamonkey/patches/patch-mozilla_xpcom_components_Module.h
new file mode 100644
index 00000000000..4383f26d1f1
--- /dev/null
+++ b/www/seamonkey/patches/patch-mozilla_xpcom_components_Module.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-mozilla_xpcom_components_Module.h,v 1.3 2016/04/14 21:09:07 dholland Exp $
+
+* Workaround for binutils/GNU ld 2.26 from NetBSD/amd64 7.99.26
+
+--- mozilla/xpcom/components/Module.h.orig 2016-01-23 23:23:51.000000000 +0000
++++ mozilla/xpcom/components/Module.h
+@@ -125,7 +125,7 @@ struct Module
+ # define NSMODULE_SECTION __declspec(allocate(".kPStaticModules$M"), dllexport)
+ # elif defined(__GNUC__)
+ # if defined(__ELF__)
+-# define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), visibility("protected")))
++# define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), visibility("default")))
+ # elif defined(__MACH__)
+ # define NSMODULE_SECTION __attribute__((section("__DATA, .kPStaticModules"), visibility("default")))
+ # elif defined (_WIN32)