summaryrefslogtreecommitdiff
path: root/dev-cpp/cpprestsdk
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-18 07:31:32 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-18 07:31:32 +0000
commit48df745685ef9eb1b32925a9fc5d4a5d237198e3 (patch)
treee73757d887d7ad14209799ecef93e7e085e1d800 /dev-cpp/cpprestsdk
parent08d5f63ec686c71e5af5775902150732a73312d8 (diff)
downloadbaldeagleos-repo-48df745685ef9eb1b32925a9fc5d4a5d237198e3.tar.gz
baldeagleos-repo-48df745685ef9eb1b32925a9fc5d4a5d237198e3.tar.xz
baldeagleos-repo-48df745685ef9eb1b32925a9fc5d4a5d237198e3.zip
Adding metadata
Diffstat (limited to 'dev-cpp/cpprestsdk')
-rw-r--r--dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild (renamed from dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r1.ebuild)1
-rw-r--r--dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disabl-int-tests.patch3
-rw-r--r--dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disable-werror-default.patch11
3 files changed, 14 insertions, 1 deletions
diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r1.ebuild b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild
index 59ef5785bf16..1e99a9fa6d04 100644
--- a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r1.ebuild
+++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild
@@ -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() {
diff --git a/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disabl-int-tests.patch b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disabl-int-tests.patch
index 25a95cc9c588..6ae6e3759c6a 100644
--- a/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disabl-int-tests.patch
+++ b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disabl-int-tests.patch
@@ -3,8 +3,9 @@
@@ -1,3 +1,3 @@
add_subdirectory(utilities)
-add_subdirectory(client)
+-add_subdirectory(listener)
+#add_subdirectory(client)
- add_subdirectory(listener)
++#add_subdirectory(listener)
--- a/Release/tests/functional/websockets/CMakeLists.txt
+++ b/Release/tests/functional/websockets/CMakeLists.txt
@@ -27,9 +27,9 @@ if (NOT CPPREST_EXCLUDE_WEBSOCKETS)
diff --git a/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disable-werror-default.patch b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disable-werror-default.patch
new file mode 100644
index 000000000000..44e56d108ce6
--- /dev/null
+++ b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-disable-werror-default.patch
@@ -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.")