Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-03-11 17:42:42 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-03-11 17:42:42 +0100
commit146f8c8ba3bfe3428497e0ee2e7e1db58d481281 (patch)
tree2dbedb932150115f093e990017fae6c71f903367
parent6de73e1920f4ab16e37602cace587a3d9084ed81 (diff)
extra/librsvg: use rust and not rustup, doesn't segfault
-rw-r--r--extra/librsvg/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index 2915a4eb..833cc0bb 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -23,3 +23,16 @@ eval "$(
s/make check/make check || true/
'
)"
+
+# use rust, not rustup, compiled rustc uses pentium3, non-SSE2 optimizations,
+# no clue what we get with rustup!
+
+makedepends=(${makedepends[@]//rustup/})
+makedepends+=('rust')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ s/rustup/#rustup/
+ '
+)"