From 567531c87ce06a251c50cf283a0ec58960b27dc2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 10 Mar 2019 15:25:22 +0100 Subject: extra/rust: patched i686 for pentium3 (no SSE2) --- community/rust/PKGBUILD | 11 ----------- community/rust/config.toml.patch | Bin 274 -> 0 bytes extra/rust/PKGBUILD | 11 +++++++++++ extra/rust/config.toml.patch | Bin 0 -> 274 bytes 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 community/rust/PKGBUILD delete mode 100644 community/rust/config.toml.patch create mode 100644 extra/rust/PKGBUILD create mode 100644 extra/rust/config.toml.patch diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD deleted file mode 100644 index 14d3c061..00000000 --- a/community/rust/PKGBUILD +++ /dev/null @@ -1,11 +0,0 @@ -source+=(config.toml.patch) -sha256sums+=('55d59786b6a24590951688c01910ac331996fc5ea5e20f10d227db24b93b1e74') - -eval "$( - declare -f prepare | \ - sed ' - $ i patch -p1 -i "$srcdir/config.toml.patch" - /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs" - /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs" - ' -)" diff --git a/community/rust/config.toml.patch b/community/rust/config.toml.patch deleted file mode 100644 index f479499b..00000000 Binary files a/community/rust/config.toml.patch and /dev/null differ diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD new file mode 100644 index 00000000..b0b2eada --- /dev/null +++ b/extra/rust/PKGBUILD @@ -0,0 +1,11 @@ +source+=(config.toml.patch) +sha256sums+=('55d59786b6a24590951688c01910ac331996fc5ea5e20f10d227db24b93b1e74') + +eval "$( + declare -f prepare | \ + sed ' + $ i patch -p1 -i "$srcdir/config.toml.patch" + /}/ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs" + /}/ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs" + ' +)" diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch new file mode 100644 index 00000000..f479499b Binary files /dev/null and b/extra/rust/config.toml.patch differ -- cgit v1.2.3-54-g00ecf