From dfc50f477165e1fa7bb6d912a16dec18ec67d0ad Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 13 Jun 2019 10:00:53 +0200 Subject: multilib/fasm: redone patch to work also on i486 and pentium4 --- multilib/fasm/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'multilib/fasm/PKGBUILD') 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 ' )" -- cgit v1.2.3-70-g09d2