c987560802
```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
|
|
+++ b/configure.ac
|
|
@@ -37,7 +37,7 @@ if test "$WITH_CRYPTOPP" = "yes"; then
|
|
|
|
PKG_PROG_PKG_CONFIG([0.25])
|
|
|
|
- PKG_CHECK_MODULES([CRYPTOPP],[libcrypto++])
|
|
+ PKG_CHECK_MODULES([CRYPTOPP],[libcryptopp])
|
|
|
|
#crypto++ headers are either in include/crypto++ or include/cryptopp,
|
|
#the information is otherwise unavailable from standard configuration
|