pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   maya
Date:           Thu Apr 30 19:08:50 UTC 2020

Modified Files:
        pkgsrc/www/firefox: distinfo
Added Files:
        pkgsrc/www/firefox/patches: patch-config_makefiles_rust.mk

Log Message:
firefox: help netbsd unattended builds by running cargo with -j1

it defaults to -j(NUMBER OF CPUS) and this triggers an ld.so vs. fork
issue.


To generate a diff of this commit:
cvs rdiff -u -r1.388 -r1.389 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.388 pkgsrc/www/firefox/distinfo:1.389
--- pkgsrc/www/firefox/distinfo:1.388   Thu Apr  9 14:01:26 2020
+++ pkgsrc/www/firefox/distinfo Thu Apr 30 19:08:50 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.388 2020/04/09 14:01:26 ryoon Exp $
+$NetBSD: distinfo,v 1.389 2020/04/30 19:08:50 maya Exp $
 
 SHA1 (firefox-75.0.source.tar.xz) = df7904c16d525eb791728d655258b7d1fe064db9
 RMD160 (firefox-75.0.source.tar.xz) = e75ffcf93adab1198a93b42a6d2f8722be3745ce
@@ -9,6 +9,7 @@ SHA1 (patch-browser_app_profile_firefox.
 SHA1 (patch-browser_components_BrowserGlue.jsm) = dcbf01db8b06db3376f0545ccfbba9dde5790c82
 SHA1 (patch-build_moz.configure_rust.configure) = ee9e207e67709f3c9455b4d22f5f254890e99ca8
 SHA1 (patch-config_gcc-stl-wrapper.template.h) = 781a063fa6ab345face53fd88404ead11ab335b2
+SHA1 (patch-config_makefiles_rust.mk) = 8637cd3f56774648fd586c7ad8dd49e269b9eb2a
 SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
 SHA1 (patch-dom_media_CubebUtils.cpp) = 226821d961039ae5c9c50d8615757b73c6bcd80a
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993

Added files:

Index: pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk
diff -u /dev/null pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.1
--- /dev/null   Thu Apr 30 19:08:50 2020
+++ pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk   Thu Apr 30 19:08:50 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-config_makefiles_rust.mk,v 1.1 2020/04/30 19:08:50 maya Exp $
+
+NetBSD doesn't get along with parallel rust builds (it causes issues
+with ld.so) which are the default. Force -j1.
+
+--- config/makefiles/rust.mk.orig      2020-04-03 19:34:34.000000000 +0000
++++ config/makefiles/rust.mk
+@@ -52,6 +52,9 @@ endif
+ ifeq (1,$(MOZ_PARALLEL_BUILD))
+ cargo_build_flags += -j1
+ endif
++ifeq ($(OS_ARCH),NetBSD)
++cargo_build_flags += -j1
++endif
+ 
+ # These flags are passed via `cargo rustc` and only apply to the final rustc
+ # invocation (i.e., only the top-level crate, not its dependencies).



Home | Main Index | Thread Index | Old Index