diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-11-12 12:50:52 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-11-12 12:50:52 +0000 |
commit | 47c54cab5aee4c0f40273f4c37aba40efe60b248 (patch) | |
tree | c5112b2f2a1752011e81ecdea9af090e909d7a1c /www | |
parent | 1a28e3b1f005da9d770492555bcc9649b7024a10 (diff) | |
download | pkgsrc-47c54cab5aee4c0f40273f4c37aba40efe60b248.tar.gz |
firefox: SunOS build fixes.
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/Makefile | 4 | ||||
-rw-r--r-- | www/firefox/distinfo | 6 | ||||
-rw-r--r-- | www/firefox/patches/patch-aa | 13 | ||||
-rw-r--r-- | www/firefox/patches/patch-python_mozbuild_mozbuild_action_check__binary.py | 16 | ||||
-rw-r--r-- | www/firefox/patches/patch-xpcom_components_nsComponentManager.cpp | 17 |
5 files changed, 51 insertions, 5 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile index b3e48f1bde2..8c0d15ad9f3 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.346 2018/11/12 03:53:03 ryoon Exp $ +# $NetBSD: Makefile,v 1.347 2018/11/12 12:50:52 jperkin Exp $ FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} MOZ_BRANCH= 63.0 @@ -27,6 +27,8 @@ CFLAGS+= -I${PREFIX}/include/nspr # for lang/gcc6 CFLAGS+= -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS +CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS + # workround for link of libxul.so etc. LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/firefox ${COMPILER_RPATH_FLAG}${PREFIX}/lib LDFLAGS.SunOS+= -lm diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 2e1e4fbfb59..729eca6c7e1 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.330 2018/11/07 12:55:11 martin Exp $ +$NetBSD: distinfo,v 1.331 2018/11/12 12:50:52 jperkin Exp $ SHA1 (firefox-63.0.1.source.tar.xz) = d62a85ce78904171e9f863154fb8cd031cdbe4ee RMD160 (firefox-63.0.1.source.tar.xz) = 28f6431150deb10b967e4181ebfb5c332deedbd2 SHA512 (firefox-63.0.1.source.tar.xz) = 29acad70259d71a924cbaf4c2f01fb034cf8090759b3a2d74a5eabc2823f83b6508434e619d8501d3930702e2bbad373581a70e2ce57aead9af77fc42766fbe2 Size (firefox-63.0.1.source.tar.xz) = 265358784 bytes -SHA1 (patch-aa) = 2df509e4c7478eb2a9d894b661ff62bca0e4c785 +SHA1 (patch-aa) = 649bafc86814ed9819a51f8347c5058123bd2d51 SHA1 (patch-browser_app_profile_firefox.js) = 3ff1487607da5c7dc917fe9f793c6d281119974a SHA1 (patch-build_moz.configure_old.configure) = 91bab1cbbe02332ec076b49b6e598730202fbc99 SHA1 (patch-dom_base_nsAttrName.h) = 89389af93bda7de9fd9a4b0fc6fa6505da390134 @@ -30,6 +30,7 @@ SHA1 (patch-media_libcubeb_src_moz.build) = 10f8355e3b3c6d35cca99f3717246e865886 SHA1 (patch-media_libcubeb_update.sh) = cddb5849fa2972e961e4891bc8a79a650df06d8d SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc SHA1 (patch-modules_pdfium_update.sh) = b0bf091325c9322c54880de067871354cd689038 +SHA1 (patch-python_mozbuild_mozbuild_action_check__binary.py) = 8103ca9f95fe98a4461c97abcd4cafd5ae5294f0 SHA1 (patch-servo_components_style_build__gecko.rs) = 1045b4e336c329d2673d096aeead83b6bc58ed13 SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 082aa7830b33cb91c2606fb06059d544c70a7e62 SHA1 (patch-toolkit_library_moz.build) = 102e3713552c26f76e8b4e473846bb8fbc44b278 @@ -38,5 +39,6 @@ SHA1 (patch-toolkit_mozapps_installer_packager.mk) = b2343fbad2556504dfd13601c02 SHA1 (patch-toolkit_xre_glxtest.cpp) = cf048491778610454b914400e53072afedd96e7b SHA1 (patch-xpcom_base_nscore.h) = d7c96eda884d7f370442749c43caba50da61bbe4 SHA1 (patch-xpcom_build_BinaryPath.h) = 9ec4b740388a4a887401efbb89810e96336576f7 +SHA1 (patch-xpcom_components_nsComponentManager.cpp) = 70546c05971ca4fef138b70e77ff341a61393c24 SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 412da80be2aa43852e08ad35e6523ae0842167ab SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__sparc64__openbsd.cpp) = 569f10c29da6e8d30ee6b8568c85a629557a3943 diff --git a/www/firefox/patches/patch-aa b/www/firefox/patches/patch-aa index e29cdcd7bd9..c092190a05c 100644 --- a/www/firefox/patches/patch-aa +++ b/www/firefox/patches/patch-aa @@ -1,8 +1,9 @@ -$NetBSD: patch-aa,v 1.59 2018/11/04 00:38:44 ryoon Exp $ +$NetBSD: patch-aa,v 1.60 2018/11/12 12:50:52 jperkin Exp $ * Add OSS audio support +* Disable libav-fft on SunOS (relocation errors) ---- old-configure.in.orig 2018-10-18 20:06:09.000000000 +0000 +--- old-configure.in.orig 2018-10-31 00:08:10.000000000 +0000 +++ old-configure.in @@ -2543,6 +2543,67 @@ MOZ_WEBM_ENCODER=1 AC_DEFINE(MOZ_WEBM_ENCODER) @@ -72,3 +73,11 @@ $NetBSD: patch-aa,v 1.59 2018/11/04 00:38:44 ryoon Exp $ dnl ======================================================== dnl NegotiateAuth dnl ======================================================== +@@ -2860,6 +2921,7 @@ case "$OS_ARCH:$CPU_ARCH" in + WINNT:x86) + MOZ_LIBAV_FFT=1 + ;; ++ SunOS:*) : ;; + *:x86_64) + MOZ_LIBAV_FFT=1 + ;; diff --git a/www/firefox/patches/patch-python_mozbuild_mozbuild_action_check__binary.py b/www/firefox/patches/patch-python_mozbuild_mozbuild_action_check__binary.py new file mode 100644 index 00000000000..cee901d230a --- /dev/null +++ b/www/firefox/patches/patch-python_mozbuild_mozbuild_action_check__binary.py @@ -0,0 +1,16 @@ +$NetBSD: patch-python_mozbuild_mozbuild_action_check__binary.py,v 1.1 2018/11/12 12:50:52 jperkin Exp $ + +Skip linker order tests on SunOS. + +--- python/mozbuild/mozbuild/action/check_binary.py.orig 2018-10-31 00:08:11.000000000 +0000 ++++ python/mozbuild/mozbuild/action/check_binary.py +@@ -228,6 +228,9 @@ def check_nsmodules(target, binary): + else: + sym_cmp = lambda guessed, actual: guessed == actual + ++ if sys.platform.startswith('sunos'): ++ return ++ + for addr, size, sym in symbols: + if next_addr is not None and not sym_cmp(next_addr, addr): + print_symbols(symbols) diff --git a/www/firefox/patches/patch-xpcom_components_nsComponentManager.cpp b/www/firefox/patches/patch-xpcom_components_nsComponentManager.cpp new file mode 100644 index 00000000000..0295a9018d0 --- /dev/null +++ b/www/firefox/patches/patch-xpcom_components_nsComponentManager.cpp @@ -0,0 +1,17 @@ +$NetBSD: patch-xpcom_components_nsComponentManager.cpp,v 1.1 2018/11/12 12:50:52 jperkin Exp $ + +Ensure symbols aren't pruned from being unused. + +--- xpcom/components/nsComponentManager.cpp.orig 2018-10-31 00:08:15.000000000 +0000 ++++ xpcom/components/nsComponentManager.cpp +@@ -298,8 +298,8 @@ extern mozilla::Module const* const __st + + # if defined(__ELF__) || (defined(_WIN32) && defined(__GNUC__)) + +-extern "C" mozilla::Module const* const __start_kPStaticModules; +-extern "C" mozilla::Module const* const __stop_kPStaticModules; ++extern "C" mozilla::Module const* const __start_kPStaticModules = nullptr; ++extern "C" mozilla::Module const* const __stop_kPStaticModules = nullptr; + + # elif defined(__MACH__) + |