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 ```
10 lines
293 B
Diff
10 lines
293 B
Diff
--- a/source/NHUGens/NHHall.cpp 2018-11-18 23:18:46.000000000 +0100
|
|
+++ b/source/NHUGens/NHHall.cpp 2020-09-13 07:57:48.084435095 +0200
|
|
@@ -25,6 +25,7 @@
|
|
For more information, please refer to <http://unlicense.org>
|
|
*/
|
|
|
|
+#include <cstdio>
|
|
#include "nh_hall.hpp"
|
|
#include "SC_PlugIn.hpp"
|
|
|