diff --git a/net-libs/gsoap/gsoap-2.8.127.recipe b/net-libs/gsoap/gsoap-2.8.135.recipe similarity index 92% rename from net-libs/gsoap/gsoap-2.8.127.recipe rename to net-libs/gsoap/gsoap-2.8.135.recipe index d7ee7cf2f..73bbd3eac 100644 --- a/net-libs/gsoap/gsoap-2.8.127.recipe +++ b/net-libs/gsoap/gsoap-2.8.135.recipe @@ -7,11 +7,11 @@ MTOM/MIME/DIME attachments (streaming), SOAP-over-UDP, request-response and \ one-way messaging. The toolkit also supports WS-Addressing and WS-Security, \ with several other WS-* available or under development." HOMEPAGE="https://www.genivia.com/dev.html" -COPYRIGHT="2000-2023 Robert van Engelen, Genivia Inc." +COPYRIGHT="2000-2024 Robert van Engelen, Genivia Inc." LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://sourceforge.net/projects/gsoap2/files/gsoap_$portVersion.zip" -CHECKSUM_SHA256="25ecad1bbc363494eb7ea95a68508e4c93cc20596fad9ebc196c6572bbbd3c08" +CHECKSUM_SHA256="b11757e405d55d4674dfbf88c4fa6d7e24155cf64ed8ed578ccad2f2b555e98d" PATCHES="gsoap-$portVersion.patchset" SOURCE_DIR="gsoap-2.8" @@ -55,9 +55,9 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libcrypto$secondaryArchSuffix + devel:libcrypto$secondaryArchSuffix >= 3 devel:libgnutls$secondaryArchSuffix - devel:libssl$secondaryArchSuffix + devel:libssl$secondaryArchSuffix >= 3 devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" diff --git a/net-libs/gsoap/patches/gsoap-2.8.127.patchset b/net-libs/gsoap/patches/gsoap-2.8.127.patchset deleted file mode 100644 index 47fff47f1..000000000 --- a/net-libs/gsoap/patches/gsoap-2.8.127.patchset +++ /dev/null @@ -1,24 +0,0 @@ -From da91613cd0ed3f2a4b2a6b374fd32513231e9c46 Mon Sep 17 00:00:00 2001 -From: begasus -Date: Thu, 6 Apr 2023 08:34:06 +0200 -Subject: add Haiku to platforms, use libnetwork and libcrypto - - -diff --git a/configure.ac b/configure.ac -index 065d3cf..352ae84 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -87,6 +87,10 @@ case "${host}" in - *-nto-qnx) platform=QNX - SAMPLE_EXTRA_LIBS="-lsocket -lm" - ;; -+ *-*-haiku*) platform=HAIKU -+ SAMPLE_EXTRA_LIBS="-lnetwork -lcrypto" -+ WSDL2H_EXTRA_LIBS="-lnetwork" -+ ;; - *) platform=UNKNOWN - SAMPLE_EXTRA_LIBS="-lm" - ;; --- -2.37.3 - diff --git a/net-libs/gsoap/patches/gsoap-2.8.135.patchset b/net-libs/gsoap/patches/gsoap-2.8.135.patchset new file mode 100644 index 000000000..c41b4abf6 --- /dev/null +++ b/net-libs/gsoap/patches/gsoap-2.8.135.patchset @@ -0,0 +1,47 @@ +From 10ffc5d5b452526f9aa2aaab8e6bb6503836534f Mon Sep 17 00:00:00 2001 +From: begasus +Date: Thu, 6 Apr 2023 08:34:06 +0200 +Subject: add Haiku to platforms, use libnetwork and libcrypto + + +diff --git a/configure.ac b/configure.ac +index 51949f2..905ca6e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -87,6 +87,10 @@ case "${host}" in + *-nto-qnx) platform=QNX + SAMPLE_EXTRA_LIBS="-lsocket -lm" + ;; ++ *-*-haiku*) platform=HAIKU ++ SAMPLE_EXTRA_LIBS="-lnetwork -lcrypto" ++ WSDL2H_EXTRA_LIBS="-lnetwork" ++ ;; + *) platform=UNKNOWN + SAMPLE_EXTRA_LIBS="-lm" + ;; +-- +2.45.2 + + +From 9ec57e152d1800b109c0eb1dd63bfc4ed5d70cde Mon Sep 17 00:00:00 2001 +From: Schrijvers Luc +Date: Sun, 1 Sep 2024 09:30:03 +0200 +Subject: Build fix for missing _DEFAULT_SOURCE + + +diff --git a/gsoap/stdsoap2.cpp b/gsoap/stdsoap2.cpp +index cafbb3e..c58b7a6 100644 +--- a/gsoap/stdsoap2.cpp ++++ b/gsoap/stdsoap2.cpp +@@ -52,6 +52,8 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com + -------------------------------------------------------------------------------- + */ + ++#define _DEFAULT_SOURCE ++ + #define GSOAP_LIB_VERSION 208135 + + /* silence GNU's warnings on format nonliteral strings and truncation (snprintf truncates on purpose for safety) */ +-- +2.45.2 +