diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-07-24 18:44:56 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-25 08:59:54 +0200 |
commit | dae94cb773bd28a3ab07cd34de360fa86d2de064 (patch) | |
tree | 91d24097e5624a9a873a3820c242bd9b8155b7cc /source/xap/mozilla-firefox | |
parent | 8a9666da9b321efae41da18c81ada6407ac715ce (diff) | |
download | current-dae94cb773bd28a3ab07cd34de360fa86d2de064.tar.gz |
Fri Jul 24 18:44:56 UTC 202020200724184456
ap/vim-8.2.1288-x86_64-1.txz: Upgraded.
d/oprofile-1.4.0-x86_64-1.txz: Upgraded.
xap/vim-gvim-8.2.1288-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xap/mozilla-firefox')
-rw-r--r-- | source/xap/mozilla-firefox/firefox.rust-1.45.diff | 14 | ||||
-rwxr-xr-x | source/xap/mozilla-firefox/mozilla-firefox.SlackBuild | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/source/xap/mozilla-firefox/firefox.rust-1.45.diff b/source/xap/mozilla-firefox/firefox.rust-1.45.diff new file mode 100644 index 00000000..fe9e7441 --- /dev/null +++ b/source/xap/mozilla-firefox/firefox.rust-1.45.diff @@ -0,0 +1,14 @@ +--- ./config/makefiles/rust.mk.orig 2020-07-08 06:51:15.000000000 -0500 ++++ ./config/makefiles/rust.mk 2020-07-24 12:23:31.769077708 -0500 +@@ -61,7 +61,11 @@ + # Enable link-time optimization for release builds, but not when linking + # gkrust_gtest. + ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) ++# Pass -Clto for older versions of rust, and CARGO_PROFILE_RELEASE_LTO=true ++# for newer ones that support it. Combining the latter with -Clto works, so ++# set both everywhere. + cargo_rustc_flags += -Clto ++export CARGO_PROFILE_RELEASE_LTO=true + endif + endif + endif diff --git a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild index c8e20e3c..1001713b 100755 --- a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild +++ b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild @@ -198,6 +198,9 @@ zcat $CWD/ff.ui.scrollToClick.diff.gz | patch -p1 --verbose || exit 1 # Fix building with latest Rust: zcat $CWD/unbreakdocs.diff.gz | patch -p1 --verbose || exit 1 +# Again, fix building with latest Rust: +zcat $CWD/firefox.rust-1.45.diff.gz | patch -p1 --verbose || exit 1 + # Fetch localization, if requested # https://bugzilla.mozilla.org/show_bug.cgi?id=1256955 if [ ! -z $MOZLOCALIZE ]; then |