4b97cd2fb4
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
12 lines
412 B
Diff
12 lines
412 B
Diff
diff -Naur SRB2-SRB2_release_2.2.9/src/sdl/MakeNIX.cfg SRB2-SRB2_release_2.2.9.orig/src/sdl/MakeNIX.cfg
|
|
--- a/SRB2-SRB2_release_2.2.9/src/sdl/MakeNIX.cfg 2021-05-07 00:06:51.901546000 -0700
|
|
+++ b/SRB2-SRB2_release_2.2.9/src/sdl/MakeNIX.cfg 2021-05-06 19:38:24.000000000 -0700
|
|
@@ -22,7 +22,7 @@
|
|
OPTS=-DUNIXCOMMON
|
|
|
|
#LDFLAGS = -L/usr/local/lib
|
|
+ LIBS+=-lm
|
|
- LIBS=-lm
|
|
ifdef LINUX
|
|
LIBS+=-lrt
|
|
ifdef NOTERMIOS
|