diff options
author | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
commit | 1e0504fb667c2e46b7658648e95f6bec2232b005 (patch) | |
tree | 59f57dadb63234845f17b82010dc7c5fc11e1446 /network/hylafax/gcc.patch | |
parent | 56fec0e2e3a00a31f6b83d66093db60a3bbb19f4 (diff) | |
download | slackbuilds-7f4a955db596b97f021e5c41d2e9fbcdd5260195.tar.gz |
20190223.1 global branch merge.current-20190223.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/hylafax/gcc.patch')
-rw-r--r-- | network/hylafax/gcc.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/hylafax/gcc.patch b/network/hylafax/gcc.patch new file mode 100644 index 0000000000..ed9817abfe --- /dev/null +++ b/network/hylafax/gcc.patch @@ -0,0 +1,12 @@ +diff -Naur hylafax-6.0.6.orig/libhylafax/FaxRecvInfo.c++ hylafax-6.0.6/libhylafax/FaxRecvInfo.c++ +--- hylafax-6.0.6.orig/libhylafax/FaxRecvInfo.c++ 2012-06-06 02:58:38.000000000 +0200 ++++ hylafax-6.0.6/libhylafax/FaxRecvInfo.c++ 2017-06-03 19:51:39.491707130 +0200 +@@ -112,7 +112,7 @@ + if (cp == NULL || cp[1] != ',' || cp[2] != '"') + return (false); + u_int i = 0; +- while (cp+2 != '\0') { ++ while (*(cp+2) != '\0') { + callid[i] = cp+3; // +1 for "/+1 for ,/+1 for " + if (*cp == '\"') break; + callid[i].resize(callid[i].next(0,'"')); |