65749575ab
```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
341 B
Diff
12 lines
341 B
Diff
automake-1.14 freaks out if AM_PROG_AR is not defined.
|
|
|
|
--- a/configure.ac 2014-02-17 19:47:41.572637701 +0100
|
|
+++ b/configure.ac 2014-02-17 19:47:54.604474781 +0100
|
|
@@ -14,6 +14,7 @@ AC_CONFIG_HEADER([src/lib/config.h])
|
|
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
|
AM_MAINTAINER_MODE
|
|
+AM_PROG_AR
|
|
|
|
AC_CANONICAL_HOST
|
|
CANONICAL_HOST=$host
|