Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F140622
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/net-libs/libhttpserver/Manifest b/net-libs/libhttpserver/Manifest
index 00ed04d..88e9699 100644
--- a/net-libs/libhttpserver/Manifest
+++ b/net-libs/libhttpserver/Manifest
@@ -1,2 +1,3 @@
+AUX libhttpserver-0.18.2-gcc12.patch 630 BLAKE2B 85ada3c4f828322f30dec4482cc179dd153cd064580701ebd36f00d08131f4647da1eaac0dbd3fdc46a07955279c0010149c89e553fad9c77e8ba0febf1369ad SHA512 a7f9f184deb4545c87f9cc9be872a5e825088a25371befe5e32b705d3a080424f4a9747e95a506106a2c16f425d4c8e6f0652a51c03b318b573b878b753d816d
DIST 0.18.2.tar.gz 168426 BLAKE2B 2e17edeb0ecb1b55c27cb3de5763571843ff5163f3156bff745ba76c77130a17ba516503a013546f24af53d2f1f7466bbdde430a0562a70832cc3accf994b7ec SHA512 0ac135180aa117cc9e8440acf39823365527d77a57531226282935547aa5f1efa84ae1c6551c38e23a021fa44fcea781f8e269d582d28a9fdacf8e4cf297296c
-EBUILD libhttpserver-0.18.2.ebuild 592 BLAKE2B 2d9f8378aca7e5dbd331730b70a220e9890fe7ede3c244e084e79702855a5b9b3be382839f86767e11076fea97546e26021df22b7e6b95578ff86f32e284e3dd SHA512 2cbc8b8e8daec76d5b4ee1c2e345f819c89170d127d6d4e1868a888f22b46e65f19d4337235f8ba94d41ba12efa0d58b66b58393a1b4b2e1729a80f5462e621e
+EBUILD libhttpserver-0.18.2.ebuild 634 BLAKE2B 92a0700e32db6f9a6772526a256ed51409f2d71133acb034c28b811c6a9f71167572d6ba0b40e50ed085bf5f45bc6dd46de20de9706f304368a9e81cbf4fe078 SHA512 9c7ec24ea33d222fa29ed61cdb2cd8e305c198e7465150ecf5d401fd72d177553a48e18458aa9936a88cc0232c155ecd1a21623b99b27b1585d2f45ac98e7fbc
diff --git a/net-libs/libhttpserver/files/libhttpserver-0.18.2-gcc12.patch b/net-libs/libhttpserver/files/libhttpserver-0.18.2-gcc12.patch
new file mode 100644
index 0000000..62ca120
--- /dev/null
+++ b/net-libs/libhttpserver/files/libhttpserver-0.18.2-gcc12.patch
@@ -0,0 +1,25 @@
+diff --git a/examples/deferred_with_accumulator.cpp b/examples/deferred_with_accumulator.cpp
+index 0657841..c2a2d83 100644
+--- a/examples/deferred_with_accumulator.cpp
++++ b/examples/deferred_with_accumulator.cpp
+@@ -21,6 +21,7 @@
+ #include <atomic>
+ #include <chrono>
+ #include <thread>
++#include <cstring>
+
+ #include <httpserver.hpp>
+
+diff --git a/examples/minimal_deferred.cpp b/examples/minimal_deferred.cpp
+index a7a3e51..6f919c9 100644
+--- a/examples/minimal_deferred.cpp
++++ b/examples/minimal_deferred.cpp
+@@ -18,6 +18,8 @@
+ USA
+ */
+
++#include <cstring>
++
+ #include <httpserver.hpp>
+
+ using namespace httpserver;
diff --git a/net-libs/libhttpserver/libhttpserver-0.18.2.ebuild b/net-libs/libhttpserver/libhttpserver-0.18.2.ebuild
index 47f5dc5..2a2e982 100644
--- a/net-libs/libhttpserver/libhttpserver-0.18.2.ebuild
+++ b/net-libs/libhttpserver/libhttpserver-0.18.2.ebuild
@@ -1,40 +1,42 @@
EAPI=7
inherit autotools
LICENSE="LGPL-2.1"
DESCRIPTION="C++ library for creating an embedded Rest HTTP server (and more)"
HOMEPAGE="https://github.com/etr/libhttpserver"
SRC_URI="https://github.com/etr/libhttpserver/archive/0.18.2.tar.gz"
SLOT="0/0.18.2"
KEYWORDS="~amd64"
IUSE="test"
DEPEND="
net-libs/libmicrohttpd
"
RDEPEND="${DEPEND}"
BDEPEND=""
+PATCHES=("${FILESDIR}/${P}-gcc12.patch")
+
src_prepare()
{
default
eautoreconf
}
src_configure()
{
mkdir build && cd build && \
ECONF_SOURCE=.. econf
}
src_compile()
{
cd build && emake
}
src_install() {
cd build && emake DESTDIR="${D}" install
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jan 20, 6:50 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55590
Default Alt Text
(3 KB)
Attached To
Mode
R30 tusooa-overlay
Attached
Detach File
Event Timeline
Log In to Comment