diff options
Diffstat (limited to 'www-client/firefox/files/xpcom-components-binutils-26.patch')
-rw-r--r-- | www-client/firefox/files/xpcom-components-binutils-26.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www-client/firefox/files/xpcom-components-binutils-26.patch b/www-client/firefox/files/xpcom-components-binutils-26.patch new file mode 100644 index 000000000000..3daac80e97e4 --- /dev/null +++ b/www-client/firefox/files/xpcom-components-binutils-26.patch @@ -0,0 +1,15 @@ +$NetBSD: patch-xpcom_components_Module.h,v 1.1 2016/04/27 16:36:50 ryoon Exp $ + +* Workaround for binutils/GNU ld 2.26 from NetBSD/amd64 7.99.26 + +--- a/xpcom/components/Module.h 2016-01-23 23:23:51.000000000 +0000 ++++ b/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) |