summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-09-23 01:04:29 +0000
committerEric Hameleers <alien@slackware.com>2020-09-23 08:59:34 +0200
commit3474291f09f02b13b05a3120bfc7a206871a8ef4 (patch)
treea0c23b9a2d80df04a68e2466659a8f2a9fef03a2 /source
parent7cff5aa980ec308f13be81390a7605bd60d508c1 (diff)
downloadcurrent-3474291f09f02b13b05a3120bfc7a206871a8ef4.tar.gz
Wed Sep 23 01:04:29 UTC 202020200923010429
a/openssl-solibs-1.1.1h-x86_64-1.txz: Upgraded. ap/sudo-1.9.3-x86_64-1.txz: Upgraded. ap/vim-8.2.1728-x86_64-1.txz: Upgraded. d/cmake-3.18.3-x86_64-1.txz: Upgraded. l/jasper-2.0.21-x86_64-1.txz: Upgraded. n/openssl-1.1.1h-x86_64-1.txz: Upgraded. n/samba-4.13.0-x86_64-1.txz: Upgraded. xap/seamonkey-2.53.4-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.4 (* Security fix *) xap/vim-gvim-8.2.1728-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/d/rust/rust.SlackBuild8
-rwxr-xr-xsource/xap/seamonkey/seamonkey.SlackBuild3
-rw-r--r--source/xap/seamonkey/seamonkey.rust-1.45.diff12
3 files changed, 5 insertions, 18 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 22e5ccad..9d0160f0 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -65,9 +65,11 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-# if you already have rust and cargo installed, you can bootstrap from the
-# previous version.
-if [ "$LOCAL_BOOTSTRAP" = "" ] && [ -x /usr/bin/cargo ] && [ -x /usr/bin/rustc ] ; then
+# If the bootstrap binaries are present, use those. Otherwise bootstrap from
+# installed compiler.
+if /bin/ls *-unknown-linux-gnu.tar.gz 1> /dev/null 2> /dev/null ; then
+ LOCAL_BOOTSTRAP=no
+else
LOCAL_BOOTSTRAP=yes
fi
diff --git a/source/xap/seamonkey/seamonkey.SlackBuild b/source/xap/seamonkey/seamonkey.SlackBuild
index 15b286a0..feacb5c1 100755
--- a/source/xap/seamonkey/seamonkey.SlackBuild
+++ b/source/xap/seamonkey/seamonkey.SlackBuild
@@ -122,9 +122,6 @@ cd seamonkey-${TARBALLVER} || exit 1
# Retain GTK+ v2 scrolling behavior:
zcat $CWD/sm.ui.scrollToClick.diff.gz | patch -p1 --verbose || exit 1
-# Fix building with latest Rust:
-zcat $CWD/seamonkey.rust-1.45.diff.gz | patch -p1 --verbose || exit 1
-
# Make sure the perms/ownerships are sane:
chown -R root:root .
find . \
diff --git a/source/xap/seamonkey/seamonkey.rust-1.45.diff b/source/xap/seamonkey/seamonkey.rust-1.45.diff
deleted file mode 100644
index bf7bf7a8..00000000
--- a/source/xap/seamonkey/seamonkey.rust-1.45.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./mozilla/config/rules.mk.orig 2020-06-06 14:59:53.000000000 -0500
-+++ ./mozilla/config/rules.mk 2020-07-24 13:16:53.707149335 -0500
-@@ -874,7 +874,9 @@
- ifndef DEVELOPER_OPTIONS
- ifndef MOZ_DEBUG_RUST
- # Enable link-time optimization for release builds.
-+# Pass -Clto and CARGO_PROFILE_RELEASE_LTO=true.
- cargo_rustc_flags += -C lto
-+export CARGO_PROFILE_RELEASE_LTO=true
- endif
- endif
-