X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fcmake%2Fpatches%2F110-alpine_musl-compat.patch;fp=tools%2Fcmake%2Fpatches%2F110-alpine_musl-compat.patch;h=a2c84fca4a1f18e5f3c1665589fbc4289e6caddc;hb=3c4df661c0c8d693b5198cbbf61f679c76fdea52;hp=ae93201e53659514e2a63fc813622302bde5be59;hpb=b0d513ec91d76cc6b208094d0f78e54f252de573;p=openwrt%2F.git 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 -- - #if JSON_USE_EXCEPTION - #include - #define JSON_ASSERT(condition) \ + #include + + /** It should not be possible for a maliciously designed file to