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>2023-02-03 08:37:08 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-02-03 08:37:08 +0100
commitff0b8163b389192c0811306986031a4acbfa5238 (patch)
tree1cfe448398dccde6442a616cf2225d9cc17a93c0
parent7f0bff4f7162872c34d94f5cd2036b33c6031d1e (diff)
extra/js102: added patching from js91, but segfauls (FS32#319)
-rw-r--r--extra/js102/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/js102/PKGBUILD b/extra/js102/PKGBUILD
new file mode 100644
index 00000000..df23dbac
--- /dev/null
+++ b/extra/js102/PKGBUILD
@@ -0,0 +1,31 @@
+# target adaption (no clue how this ever worked before!?)
+eval "$(
+ declare -f build | \
+ sed '
+ s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+# see FS32#138, ignoring failing test for now
+unset check
+
+# no simd optimization on non-pentium4
+if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-rust-simd/--disable-rust-simd/g
+ '
+ )"
+fi
+
+# hard pinning rust version (as it fails with rust 1.50)
+# this rust version now needs llvm11
+#makedepends=(${makedepends[@]//rust/})
+#makedepends_i686+=(rust148 llvm11)
+#makedepends_pentium4+=(rust148 llvm11)
+
+# rust is linked against old versions of LLVM and Openssl
+# and cannot be rebuilt currently
+makedepends+=(llvm14)
+makedepends+=(openssl-1.1)