summaryrefslogtreecommitdiff
path: root/dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch')
-rw-r--r--dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch b/dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch
new file mode 100644
index 000000000000..5dd1aacbfca7
--- /dev/null
+++ b/dev-libs/yyjson/files/yyjson-0.7.0-disable-werror.patch
@@ -0,0 +1,12 @@
+Upstream sets -Werror by default, this is not recommended in Gentoo.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -325,7 +325,6 @@
+ set(YYJSON_BASE_FLAGS
+ -pedantic
+ -pedantic-errors
+- -Werror
+ -Wall
+ -Wextra
+ -Wconversion