diff options
author | Remi Collet <remi@remirepo.net> | 2022-04-18 09:19:07 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-04-18 09:19:07 +0200 |
commit | 51e6c7f23838c6c7aba19b19d4a53b233906588b (patch) | |
tree | 56bce1180a8a7bd48fa205736a761964fe729519 /swoole-build.patch | |
parent | 162b4817fe31f5d2f624e11804cc00a4dc503668 (diff) |
update to 4.8.9
add workaround to build failure reported as
https://github.com/swoole/swoole-src/issues/4693
Diffstat (limited to 'swoole-build.patch')
-rw-r--r-- | swoole-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/swoole-build.patch b/swoole-build.patch new file mode 100644 index 0000000..5ee6e39 --- /dev/null +++ b/swoole-build.patch @@ -0,0 +1,14 @@ +diff --git a/include/swoole_string.h b/include/swoole_string.h +index 4affbac81..f80890c46 100644 +--- a/include/swoole_string.h ++++ b/include/swoole_string.h +@@ -25,6 +25,9 @@ + #define SW_STRINGS(s) s->str, s->size + #define SW_STRINGCVL(s) s->str + s->offset, s->length - s->offset + ++/* see https://github.com/swoole/swoole-src/issues/4693 */ ++#pragma GCC diagnostic ignored "-Wformat-security" ++ + namespace swoole { + + typedef std::function<bool(const char *, size_t)> StringExplodeHandler; |