ae69000001
* 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 ```
11 lines
329 B
Diff
11 lines
329 B
Diff
--- a/Makefile 2016-02-26 23:20:11.536799936 +0100
|
|
+++ b/Makefile 2016-02-26 23:20:19.545799337 +0100
|
|
@@ -39,7 +39,7 @@ atopacctd: atopacctd.o netlink.o
|
|
$(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
|
|
|
|
netlink.o: netlink.c
|
|
- $(CC) -I. -Wall -c netlink.c
|
|
+ $(CC) -I. -Wall -c netlink.c $(CFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o
|