summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/seamonkey/distinfo3
-rw-r--r--www/seamonkey/patches/patch-mozilla_xpcom_components_Module.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo
index 3f5122f5cc3..3696b078258 100644
--- a/www/seamonkey/distinfo
+++ b/www/seamonkey/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.135 2016/03/30 12:56:53 ryoon Exp $
+$NetBSD: distinfo,v 1.136 2016/04/14 21:09:07 dholland Exp $
SHA1 (seamonkey-2.40.source.tar.xz) = ecf99bc7478319835a0e19f35ed5b7b1aa2c0046
RMD160 (seamonkey-2.40.source.tar.xz) = 4030688f145fdf35a6d2728d097cf7cda8e50231
@@ -136,6 +136,7 @@ SHA1 (patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp) = 70030e59b2ed09b9bc9827d3
SHA1 (patch-mozilla_webapprt_moz.build) = 8323bfea8fe835571bf60d95cfa59859b745083f
SHA1 (patch-mozilla_xpcom_base_nscore.h) = a69c532d2891ac2a2227445e85e581749685153e
SHA1 (patch-mozilla_xpcom_build_PoisonIOInterposer.h) = aa3e168c7c23ad6e63f521044336a03354ec9030
+SHA1 (patch-mozilla_xpcom_components_Module.h) = 47844707fe3c277ac86066d25fe313998f9e30a4
SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_Makefile.in) = fa77d69500f1436e05c677723e485ccea213f4f4
SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_moz.build) = 30bdef539886bda87e35306b5bf7e3a6ebefee53
SHA1 (patch-mozilla_xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = cb2a4769f04351e92580e3daaca88fc7f1dfedbd
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)