4f75cf25fd
```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 ```
20 lines
485 B
Diff
20 lines
485 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -403,7 +403,7 @@
|
|
[$accheck_includes])])
|
|
|
|
AC_MSG_CHECKING([for va_copy])
|
|
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
|
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
$accheck_includes
|
|
]], [[
|
|
va_list ap, ap2;
|
|
@@ -415,7 +415,7 @@
|
|
[AC_MSG_RESULT([no])])
|
|
|
|
AC_MSG_CHECKING([for __builtin_va_copy])
|
|
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
|
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
$accheck_includes
|
|
]], [[
|
|
va_list ap, ap2;
|