200bed5c06
```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
390 B
Diff
12 lines
390 B
Diff
--- a/configure.ac 2018-10-04 11:22:39.253662649 +0200
|
|
+++ b/configure.ac 2018-10-04 11:23:27.646660149 +0200
|
|
@@ -116,9 +116,6 @@
|
|
AC_FUNC_MALLOC
|
|
AC_CHECK_FUNCS([memset strdup strstr])
|
|
|
|
-# Bash@Ubuntu@Windows
|
|
-AC_CHECK_FILE(/tmp/hstr-ms-wsl,AC_DEFINE(__MS_WSL__), [])
|
|
-
|
|
# Bash CLI autocomplete
|
|
AC_ARG_WITH([bash-completion-dir],
|
|
AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
|