4b97cd2fb4
```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
330 B
Diff
11 lines
330 B
Diff
$OpenBSD: patch-xioopts_h,v 1.1 2014/04/24 15:17:08 sthen Exp $
|
|
--- a/xioopts.h Sun Jun 23 07:16:48 2013
|
|
+++ b/xioopts.h Sat Apr 19 15:55:57 2014
|
|
@@ -477,7 +477,6 @@ enum e_optcode {
|
|
OPT_OPENSSL_COMPRESS,
|
|
#endif
|
|
OPT_OPENSSL_DHPARAM,
|
|
- OPT_OPENSSL_EGD,
|
|
OPT_OPENSSL_FIPS,
|
|
OPT_OPENSSL_KEY,
|
|
OPT_OPENSSL_METHOD,
|