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-06-13 10:00:53 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-06-13 10:00:53 +0200
commitdfc50f477165e1fa7bb6d912a16dec18ec67d0ad (patch)
tree42849dec96a66cc7aeb44b974bd70971cecc2be8
parent9470633f4e28db261443eef2520a8d57b022c563 (diff)
multilib/fasm: redone patch to work also on i486 and pentium4
-rw-r--r--multilib/fasm/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/multilib/fasm/PKGBUILD b/multilib/fasm/PKGBUILD
index 8dd79a3f..15201927 100644
--- a/multilib/fasm/PKGBUILD
+++ b/multilib/fasm/PKGBUILD
@@ -1,11 +1,13 @@
+depends_i486+=('glibc')
depends_i686+=('glibc')
+depends_pentium4+=('glibc')
eval "$(
declare -f build | \
sed '
- s@if .*CARCH.* == .*x86_64@if [ "${CARCH}" == "i686" ]; then\
+ /if .*CARCH.* == .*x86_64.*/,/fi/{s/.*//g}
+ /mv/ i \
SRCDIR=Linux \
- ./fasm source/${SRCDIR}/fasm.asm\
- el\0@
+ ./fasm source/${SRCDIR}/fasm.asm
'
)"