* 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 ```
12 lines
438 B
Diff
12 lines
438 B
Diff
diff -ur database.h database.h
|
|
--- a/database.h 2015-10-04 10:38:25.000000000 +0800
|
|
+++ b/database.h 2018-02-15 21:11:46.311673251 +0800
|
|
@@ -61,7 +61,7 @@
|
|
/*
|
|
* Field operations
|
|
*/
|
|
-inline int field_id(int i);
|
|
+int field_id(int i);
|
|
abook_field *find_standard_field(char *key, int do_declare);
|
|
abook_field *real_find_field(char *key, abook_field_list *list, int *nb);
|
|
#define find_field(key, list) real_find_field(key, list, NULL)
|