Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/dgen-sdl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dgen-sdl/PKGBUILD')
-rw-r--r--extra/dgen-sdl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/dgen-sdl/PKGBUILD b/extra/dgen-sdl/PKGBUILD
new file mode 100644
index 00000000..b90dba4c
--- /dev/null
+++ b/extra/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" {} \\;
+ '
+)"