861ac185a6
```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
304 B
Diff
11 lines
304 B
Diff
--- a/Makefile 2018-01-15 14:49:00.426539554 +0100
|
|
+++ b/Makefile 2018-01-15 14:49:04.968584026 +0100
|
|
@@ -118,7 +118,7 @@ comp_opts.mk:
|
|
-include comp_opts.mk
|
|
|
|
$(BINDIR)/lfe%:
|
|
- $(INSTALL_BIN) $@ $(DESTBINDIR)
|
|
+ : $(INSTALL_BIN) $@ $(DESTBINDIR)
|
|
|
|
install: compile install-man
|
|
rm -Rf $(DESTEBINDIR)
|