diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-02-06 22:13:22 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-02-06 22:13:22 +0000 |
commit | 7e88849200f0eea2f7bd3419f51dbc9bcf6d4959 (patch) | |
tree | fb70cfad1979477dc78bb2c8de8bbfe49016385e | |
parent | 00df1b97131aa8dff2ccf2e41cfe5255a224270c (diff) | |
download | pkgsrc-7e88849200f0eea2f7bd3419f51dbc9bcf6d4959.tar.gz |
Add workaround for build failure under recent NetBSD with binutils 2.26, bump PKGREVISION
-rw-r--r-- | www/firefox/Makefile | 3 | ||||
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-xpcom_components_Module.h | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile index d38534e9d72..e3993635925 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.240 2016/01/27 00:08:26 ryoon Exp $ +# $NetBSD: Makefile,v 1.241 2016/02/06 22:13:22 ryoon Exp $ FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} MOZ_BRANCH= 44.0 MOZ_BRANCH_MINOR= +PKGREVISION= 1 DISTNAME= firefox-${FIREFOX_VER}.source PKGNAME= firefox-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//} diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 4bd23370656..583b7145aa8 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.235 2016/01/30 00:43:42 ryoon Exp $ +$NetBSD: distinfo,v 1.236 2016/02/06 22:13:22 ryoon Exp $ SHA1 (firefox-44.0.source.tar.xz) = 47189b0a15087dd8f27999f5d920ad204fde8dca RMD160 (firefox-44.0.source.tar.xz) = 7942b5a565f2b2e50a5d38c9f88dc30640a162fd @@ -135,6 +135,7 @@ SHA1 (patch-toolkit_xre_nsEmbedFunctions.cpp) = 6ee6fba04a3ecc6596f8aed67f752a10 SHA1 (patch-webapprt_moz.build) = 177468d5e12c49db1ad5376f0f3df34fa9df070c SHA1 (patch-xpcom_base_nscore.h) = f4fe66cc9e714a2101a4d1287359d1c300574438 SHA1 (patch-xpcom_build_PoisonIOInterposer.h) = b0a53ec580bf5c2277d19618c1240a447575ae68 +SHA1 (patch-xpcom_components_Module.h) = 35c5d831b0f916be4cbed18f904ab561dde72ab0 SHA1 (patch-xpcom_reflect_xptcall_md_unix_Makefile.in) = 6083e298140357bc5f2fa018885fed42eecb1ac4 SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 4717f2a285200ccb5f580e12ffd73c51ae9e9c00 SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = 493d1433ae72bbd0c65ab3f51de43fb864a6f58d diff --git a/www/firefox/patches/patch-xpcom_components_Module.h b/www/firefox/patches/patch-xpcom_components_Module.h new file mode 100644 index 00000000000..866c7b4a585 --- /dev/null +++ b/www/firefox/patches/patch-xpcom_components_Module.h @@ -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) |