mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-27 20:00:42 -04:00
dev-cpp/cpprestsdk: disable werror flag by default
Bug: https://bugs.gentoo.org/920029 Closes: https://bugs.gentoo.org/920029 Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>
This commit is contained in:
2 files changed
+12
No files matched your search
+1
@@ -27,6 +27,7 @@ BDEPEND=">=dev-util/cmake-3.23
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/cpprestsdk-${PV}-warnings.patch
|
||||
"${FILESDIR}"/cpprestsdk-${PV}-disabl-int-tests.patch
|
||||
"${FILESDIR}"/cpprestsdk-${PV}-disable-werror-default.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/Release/CMakeLists.txt
|
||||
+++ b/Release/CMakeLists.txt
|
||||
@@ -15,7 +15,7 @@ set(CPPREST_VERSION_REVISION 19)
|
||||
|
||||
enable_testing()
|
||||
|
||||
-set(WERROR ON CACHE BOOL "Treat Warnings as Errors.")
|
||||
+set(WERROR OFF CACHE BOOL "Treat Warnings as Errors.")
|
||||
set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.")
|
||||
set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.")
|
||||
set(CPPREST_EXCLUDE_BROTLI ON CACHE BOOL "Exclude Brotli compression functionality.")
|
||||
Reference in new issue
Block a user