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 ```
17 lines
585 B
Diff
17 lines
585 B
Diff
diff --git spamc/configure spamc/configure
|
|
index d8e5dcf..3db5772 100755
|
|
--- a/spamc/configure
|
|
+++ b/spamc/configure
|
|
@@ -1737,10 +1737,10 @@ if test "$cross_compiling" != yes; then
|
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
If you meant to cross compile, use \`--host'.
|
|
See \`config.log' for more details." >&5
|
|
-echo "$as_me: error: cannot run C compiled programs.
|
|
+echo "$as_echo: cannot run C compiled programs.
|
|
If you meant to cross compile, use \`--host'.
|
|
See \`config.log' for more details." >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
+ }
|
|
fi
|
|
fi
|
|
fi
|