a03d116397
```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 ```
17 lines
769 B
Diff
17 lines
769 B
Diff
--- a/configure.ac.old 2017-07-24 11:11:08.588672399 -0700
|
|
+++ b/configure.ac 2017-07-24 11:51:52.841737854 -0700
|
|
@@ -132,8 +132,12 @@
|
|
AC_MSG_NOTICE([Using decorator interface version ${decor_ver}])
|
|
],
|
|
[
|
|
- AC_DEFINE(DECOR_INTERFACE_VERSION, 0, [Decorator interface version])
|
|
- AC_MSG_ERROR([Failed to check the decorator interface version])
|
|
+ AC_DEFINE(DECOR_INTERFACE_VERSION, [20110504], [Decorator interface version])
|
|
+ AC_MSG_NOTICE([Unable to check decorator version at runtime. Defaulting to number for 0.8.14.])
|
|
+ ],
|
|
+ [
|
|
+ AC_DEFINE(DECOR_INTERFACE_VERSION, [20110504], [Decorator interface version])
|
|
+ AC_MSG_NOTICE([Unable to check decorator version at runtime. Defaulting to nnumber for 0.8.14.])
|
|
]
|
|
)
|
|
CFLAGS="$save_CFLAGS"
|