2fd8d4df94
```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
326 B
Diff
11 lines
326 B
Diff
--- a/Makefile.am 2003-05-04 11:41:26.000000000 +0200
|
|
+++ b/Makefile.am 2015-08-30 13:35:53.976381119 +0200
|
|
@@ -7,7 +7,7 @@
|
|
if HAVE_LIBDVDREAD
|
|
DVDXCHAP=dvdxchap
|
|
DVDXCHAP_MAN=dvdxchap.1
|
|
-INCLUDES=$(DVDREAD_CFLAGS)
|
|
+AM_CPPFLAGS=$(DVDREAD_CFLAGS)
|
|
endif
|
|
|
|
bin_PROGRAMS = ogmmerge ogmdemux ogminfo ogmsplit ogmcat $(DVDXCHAP)
|