aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake/patches/110-alpine_musl-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cmake/patches/110-alpine_musl-compat.patch')
-rw-r--r--tools/cmake/patches/110-alpine_musl-compat.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/cmake/patches/110-alpine_musl-compat.patch b/tools/cmake/patches/110-alpine_musl-compat.patch
index ae93201e53..a2c84fca4a 100644
--- a/tools/cmake/patches/110-alpine_musl-compat.patch
+++ b/tools/cmake/patches/110-alpine_musl-compat.patch
@@ -1,6 +1,6 @@
--- a/Utilities/cmjsoncpp/include/json/assertions.h
+++ b/Utilities/cmjsoncpp/include/json/assertions.h
-@@ -6,12 +6,12 @@
+@@ -6,11 +6,12 @@
#ifndef CPPTL_JSON_ASSERTIONS_H_INCLUDED
#define CPPTL_JSON_ASSERTIONS_H_INCLUDED
@@ -11,7 +11,6 @@
#endif // if !defined(JSON_IS_AMALGAMATION)
-#include <stdlib.h>
--
- #if JSON_USE_EXCEPTION
- #include <stdexcept>
- #define JSON_ASSERT(condition) \
+ #include <sstream>
+
+ /** It should not be possible for a maliciously designed file to