diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:55:59 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:55:59 +0100 |
commit | 1eb911922a7e818a6f314a68c0561bba008e6efd (patch) | |
tree | 9b647e44195a0a0876b40cbf5fa42dca0641179f /main/hylafaxplus | |
parent | d420552f02af2ad6a15cf3a70b76bf86b222c07e (diff) | |
download | aports-1eb911922a7e818a6f314a68c0561bba008e6efd.tar.bz2 aports-1eb911922a7e818a6f314a68c0561bba008e6efd.tar.xz |
Remove stale patches in main/
Diffstat (limited to 'main/hylafaxplus')
-rw-r--r-- | main/hylafaxplus/musl-reg-startend.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/main/hylafaxplus/musl-reg-startend.patch b/main/hylafaxplus/musl-reg-startend.patch deleted file mode 100644 index f101a83d95..0000000000 --- a/main/hylafaxplus/musl-reg-startend.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/util/RE.c++ b/util/RE.c++ -index 77150e8..6a11b1c 100644 ---- a/util/RE.c++ -+++ b/util/RE.c++ -@@ -77,8 +77,13 @@ RE::Find(const char* text, u_int length, u_int off) - else { - matches[0].rm_so = off; - matches[0].rm_eo = length; -- execResult = regexec(&c_pattern, text, c_pattern.re_nsub+1, -- matches, REG_STARTEND); -+ char newtext[length-off+1]; -+ strncpy(newtext,&text[off],length-off); -+ newtext[length-off]='\0'; -+ execResult = regexec(&c_pattern, newtext, c_pattern.re_nsub+1, -+ matches, 0x0); -+ for (int j=0;j<c_pattern.re_nsub+1;j++) -+ matches[j].rm_so+=off, matches[j].rm_eo+=off; - } - } - return (execResult == 0); |