mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-proxy/havp: fix build with GCC 12
Closes: https://bugs.gentoo.org/855575 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
11
net-proxy/havp/files/havp-0.92a-gcc12-time.patch
Normal file
11
net-proxy/havp/files/havp-0.92a-gcc12-time.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
https://bugs.gentoo.org/855575
|
||||
--- a/havp/logfile.cpp
|
||||
+++ b/havp/logfile.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <map>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
+#include <ctime>
|
||||
|
||||
#define LOGSTRINGLENGTH 1000
|
||||
|
||||
@@ -22,8 +22,9 @@ RDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/havp-0.92a-run.patch
|
||||
"${FILESDIR}"/${P}-run.patch
|
||||
"${FILESDIR}"/${P}-pkg-config-libclamav.patch
|
||||
"${FILESDIR}"/${P}-gcc12-time.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user