2fd8d4df94
```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 ```
11 lines
288 B
Diff
11 lines
288 B
Diff
--- a/configure 2015-05-09 05:42:21.144044831 +0200
|
|
+++ b/configure 2015-05-09 05:43:00.305016564 +0200
|
|
@@ -8428,7 +8428,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
|
|
;;
|
|
|
|
# This must be Linux ELF.
|
|
-linux-gnu*)
|
|
+linux-*)
|
|
version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|