From 8b25e0e29db3acb7c29e13dc0e921fd69b5da395 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 15 Feb 2018 12:30:27 +0100 Subject: community/dgen-sdl: fixed nasm compilation --- community/dgen-sdl/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 community/dgen-sdl/PKGBUILD (limited to 'community/dgen-sdl/PKGBUILD') 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" {} \\; + ' +)" -- cgit v1.2.3-70-g09d2