
```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
515 B
Diff
12 lines
515 B
Diff
--- a/core/GStrewamer/Equalizer.vala 2020-03-04 23:50:04.000000000 +0100
|
|
+++ b/core/GStreamer/Equalizer.vala 2020-12-14 15:53:22.359597220 +0100
|
|
@@ -31,7 +31,7 @@
|
|
construct {
|
|
element = Gst.ElementFactory.make ("equalizer-10bands", "equalizer");
|
|
|
|
- int[10] freqs = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000};
|
|
+ int freqs[10] = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000};
|
|
|
|
float last_freq = 0;
|
|
for (int index = 0; index < 10; index++) {
|