slackware-current/source/xap/mozilla-thunderbird/gkrust.a.no.networking.check.diff
Patrick J Volkerding 4852620550 Thu Sep 24 19:39:47 UTC 2020
a/mcelog-173-x86_64-1.txz:  Upgraded.
ap/cups-filters-1.28.3-x86_64-1.txz:  Upgraded.
ap/sudo-1.9.3p1-x86_64-1.txz:  Upgraded.
d/python3-3.8.6-x86_64-1.txz:  Upgraded.
l/mozjs78-78.3.0esr-x86_64-1.txz:  Upgraded.
xap/mozilla-thunderbird-78.3.0-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/78.3.0/releasenotes/
    https://www.mozilla.org/en-US/security/advisories/mfsa2020-44/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15677
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15676
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15678
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15673
  (* Security fix *)
2020-09-25 08:59:54 +02:00

27 lines
973 B
Diff

--- ./config/makefiles/rust.mk.orig 2020-08-04 21:42:49.000000000 -0500
+++ ./config/makefiles/rust.mk 2020-08-24 21:44:11.930497037 -0500
@@ -303,15 +303,15 @@
# the chance of proxy bypasses originating from rust code.
# The check only works when rust code is built with -Clto.
# Sanitizers and sancov also fail because compiler-rt hooks network functions.
-ifndef MOZ_PROFILE_GENERATE
-ifeq ($(OS_ARCH), Linux)
-ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN))
-ifneq (,$(filter -Clto,$(cargo_rustc_flags)))
- $(call py_action,check_binary,--target --networking $@)
-endif
-endif
-endif
-endif
+#ifndef MOZ_PROFILE_GENERATE
+#ifeq ($(OS_ARCH), Linux)
+#ifeq (,$(rustflags_sancov)$(MOZ_ASAN)$(MOZ_TSAN)$(MOZ_UBSAN))
+#ifneq (,$(filter -Clto,$(cargo_rustc_flags)))
+# $(call py_action,check_binary,--target --networking $@)
+#endif
+#endif
+#endif
+#endif
force-cargo-library-check:
$(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)