Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/dgen-sdl/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-15 12:30:27 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-15 12:30:27 +0100
commit8b25e0e29db3acb7c29e13dc0e921fd69b5da395 (patch)
treead130207b684674b7339295cb3307b10ea323313 /community/dgen-sdl/PKGBUILD
parentfedb057fd49803302c6408d4fc755c0578ba100a (diff)
community/dgen-sdl: fixed nasm compilation
Diffstat (limited to 'community/dgen-sdl/PKGBUILD')
-rw-r--r--community/dgen-sdl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/dgen-sdl/PKGBUILD b/community/dgen-sdl/PKGBUILD
new file mode 100644
index 00000000..b90dba4c
--- /dev/null
+++ b/community/dgen-sdl/PKGBUILD
@@ -0,0 +1,9 @@
+# nasm: error: more than one input file specified
+# the -- is the problem, patching it out of Makefiles to avoid retooling
+
+eval "$(
+ declare -f build | \
+ sed '
+ 4 a find . -name Makefile -exec sed -i "/nasm/s/--//g" {} \\;
+ '
+)"