pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: add some configure bits for Drago...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c17bbd080cd4
branches:  trunk
changeset: 358587:c17bbd080cd4
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Feb 16 02:25:16 2017 +0000

description:
firefox: add some configure bits for DragonflyBSD lost in the passage of
time. PR pkg/51695

diffstat:

 www/firefox/distinfo                                           |   5 +-
 www/firefox/patches/patch-as                                   |  20 +++++++++-
 www/firefox/patches/patch-build_moz.configure_memory.configure |  15 +++++++
 3 files changed, 37 insertions(+), 3 deletions(-)

diffs (76 lines):

diff -r 2b83fe676119 -r c17bbd080cd4 www/firefox/distinfo
--- a/www/firefox/distinfo      Wed Feb 15 23:22:33 2017 +0000
+++ b/www/firefox/distinfo      Thu Feb 16 02:25:16 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.272 2017/02/11 08:27:33 ryoon Exp $
+$NetBSD: distinfo,v 1.273 2017/02/16 02:25:16 maya Exp $
 
 SHA1 (firefox-51.0.1.source.tar.xz) = b73255fd4f90fd0c1b107b566679da2df3f31cf1
 RMD160 (firefox-51.0.1.source.tar.xz) = 6acc6fc8e3e317842d75b0233a24b0f19c9d3f34
@@ -6,7 +6,7 @@
 Size (firefox-51.0.1.source.tar.xz) = 202142716 bytes
 SHA1 (patch-aa) = 42dbb30745fc0e40cf582376c8fbfcd0715fcf5e
 SHA1 (patch-ao) = 1564bc503670dc07ec8b9b43927f0c5879f3a44d
-SHA1 (patch-as) = d01c9173f1055cbafff4b08bcd5bbbc2eca63044
+SHA1 (patch-as) = 632ebd35287f8f97d18721d39a0514d4cdbb12cc
 SHA1 (patch-browser_app_nsBrowserApp.cpp) = f109f5430e1b9fd11f8263d756bea0572b8ffa20
 SHA1 (patch-browser_components_nsBrowserGlue.js) = 01eef808fadc361215e60e44d79cfc8a4336107f
 SHA1 (patch-browser_installer_package-manifest.in) = d1f003f9ac65e12eb04b1d19a4d9a780bded9fd9
@@ -14,6 +14,7 @@
 SHA1 (patch-build_autoconf_toolchain.m4) = f7f5ad59a7cefbc7989e99f10b48520f1bd4bad1
 SHA1 (patch-build_gyp.mozbuild) = 481270e6703e556fb87a3440cb3cfb3d4fcc4c86
 SHA1 (patch-build_moz.configure_init.configure) = f2df0c6b92aa825a61f6a4ee1f70f5443c61858e
+SHA1 (patch-build_moz.configure_memory.configure) = 46237c1415eff3f99d4889a6300ec96af925f0a6
 SHA1 (patch-build_moz.configure_old.configure) = 143e1d0b416b33ae92950f347898cf6ed22d0f6f
 SHA1 (patch-build_moz.configure_toolchain.configure) = f02501a573b65f3e9c793c6146f26dd1d3e19222
 SHA1 (patch-build_pgo_profileserver.py) = 48ad50f716eda2157cbc225298f6672f164b4207
diff -r 2b83fe676119 -r c17bbd080cd4 www/firefox/patches/patch-as
--- a/www/firefox/patches/patch-as      Wed Feb 15 23:22:33 2017 +0000
+++ b/www/firefox/patches/patch-as      Thu Feb 16 02:25:16 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-as,v 1.21 2017/01/25 13:24:51 ryoon Exp $
+$NetBSD: patch-as,v 1.22 2017/02/16 02:25:17 maya Exp $
 
 * Treat DragonFly like FreeBSD.
 * Add system ICU support
@@ -15,3 +15,21 @@
  dnl Special win32 checks
  dnl ========================================================
  
+@@ -1053,7 +1056,7 @@ dnl Checks for header files.
+ dnl ========================================================
+ AC_HEADER_DIRENT
+ case "$target_os" in
+-freebsd*)
++freebsd*|*-*-dragonfly*)
+ # for stuff like -lXshm
+     CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
+     ;;
+@@ -1184,7 +1187,7 @@ then
+     fi
+ 
+       case "$target" in
+-          *-*-freebsd*)
++          *-*-freebsd*|*-*-dragonfly*)
+                       AC_DEFINE(_REENTRANT)
+                       AC_DEFINE(_THREAD_SAFE)
+                       dnl -pthread links in -lpthread, so don't specify it explicitly.
diff -r 2b83fe676119 -r c17bbd080cd4 www/firefox/patches/patch-build_moz.configure_memory.configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-build_moz.configure_memory.configure    Thu Feb 16 02:25:16 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-build_moz.configure_memory.configure,v 1.1 2017/02/16 02:25:17 maya Exp $
+
+Recognise DragonflyBSD
+
+--- build/moz.configure/memory.configure.orig  2017-01-16 16:16:51.000000000 +0000
++++ build/moz.configure/memory.configure
+@@ -66,7 +66,7 @@ def jemalloc_os_define(jemalloc, jemallo
+             return 'MOZ_MEMORY_LINUX'
+         if target.kernel == 'Darwin':
+             return 'MOZ_MEMORY_DARWIN'
+-        if target.kernel in ('kFreeBSD', 'FreeBSD', 'NetBSD'):
++        if target.kernel in ('kFreeBSD', 'FreeBSD', 'NetBSD', 'DragonFly'):
+             return 'MOZ_MEMORY_BSD'
+         die('--enable-jemalloc is not supported on %s', target.kernel)
+ 



Home | Main Index | Thread Index | Old Index