e2a21ccfd6
```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 ```
16 lines
550 B
Diff
16 lines
550 B
Diff
Source: @pullmoll
|
|
Upstream: no
|
|
Reason: This piece of code is ill-conceived and cannot work. Remove it.
|
|
|
|
--- a/rtosc/src/dispatch.c 2019-03-10 17:16:45.000000000 +0100
|
|
+++ b/rtosc/src/dispatch.c 2020-03-29 09:02:42.916119722 +0200
|
|
@@ -289,8 +289,7 @@
|
|
return false;
|
|
} else if(type == 4) {
|
|
//extract substring
|
|
- const char *sub=NULL;
|
|
- return strstr(a,sub);
|
|
+ return false;
|
|
} else if(type == RTOSC_MATCH_OPTIONS || type == 6) {
|
|
return false;
|
|
} else if(type == RTOSC_MATCH_ENUMERATED) {
|