From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/zynaddsubfx/fix-bogus-strstr.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 repo/zynaddsubfx/fix-bogus-strstr.patch (limited to 'repo/zynaddsubfx/fix-bogus-strstr.patch') diff --git a/repo/zynaddsubfx/fix-bogus-strstr.patch b/repo/zynaddsubfx/fix-bogus-strstr.patch new file mode 100644 index 0000000..8588045 --- /dev/null +++ b/repo/zynaddsubfx/fix-bogus-strstr.patch @@ -0,0 +1,16 @@ +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) { -- cgit v1.2.1