thunderbird: apply patch from firefox to fix build with binutils-2.26 and musl.
This commit is contained in:
parent
7c2d0594c2
commit
6582f7e0d8
1 changed files with 15 additions and 0 deletions
15
srcpkgs/thunderbird/patches/patch-xpcom_components_Module.h
Normal file
15
srcpkgs/thunderbird/patches/patch-xpcom_components_Module.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-xpcom_components_Module.h,v 1.1 2016/02/06 22:13:22 ryoon Exp $
|
||||
|
||||
* Workaround for binutils/GNU ld 2.26 from NetBSD/amd64 7.99.26
|
||||
|
||||
--- xpcom/components/Module.h.orig 2016-01-23 23:23:51.000000000 +0000
|
||||
+++ 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)
|
Loading…
Reference in a new issue