ae69000001
* arduino and antiword is kept at -Np0 ```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
368 B
Diff
11 lines
368 B
Diff
--- a/configure.ac 2020-07-04 20:59:04.718066026 +0700
|
|
+++ b/configure.ac 2020-07-04 20:59:54.542554633 +0700
|
|
@@ -370,7 +370,7 @@
|
|
[have_python="no"])
|
|
|
|
if test x$have_python = xyes; then
|
|
- if test -x $PYTHON-config; then
|
|
+ if $PYTHON-config --cflags; then
|
|
PYTHON_CFLAGS=`$PYTHON-config --cflags`
|
|
PYTHON_LIBS=`$PYTHON-config --libs`
|
|
AC_SUBST(PYTHON_CFLAGS)
|