summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-13 21:45:18 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-13 23:19:43 -0400
commit6d9a06c3abe924dba6bd47811b20e731232293dd (patch)
tree73b4384c7b6e38c8535ea5c1e7d14b6071e22f79 /net-analyzer
parentmedia-gfx/imv: add link to upstream submitted patch (diff)
downloadgentoo-6d9a06c3abe924dba6bd47811b20e731232293dd.tar.gz
gentoo-6d9a06c3abe924dba6bd47811b20e731232293dd.tar.bz2
gentoo-6d9a06c3abe924dba6bd47811b20e731232293dd.zip
net-analyzer/labrea: fix build w/ upcoming clang16
Closes: https://bugs.gentoo.org/871513 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch7
-rw-r--r--net-analyzer/labrea/labrea-2.5_p1.ebuild3
2 files changed, 9 insertions, 1 deletions
diff --git a/net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch b/net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch
new file mode 100644
index 000000000000..15ed9ff0960c
--- /dev/null
+++ b/net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/871513
+--- a/inc/utils.h
++++ b/inc/utils.h
+@@ -52,2 +52,3 @@
+
++void util_alarm(void);
+ void util_init(void);
diff --git a/net-analyzer/labrea/labrea-2.5_p1.ebuild b/net-analyzer/labrea/labrea-2.5_p1.ebuild
index a47abfc9e1a0..9906ae64ea98 100644
--- a/net-analyzer/labrea/labrea-2.5_p1.ebuild
+++ b/net-analyzer/labrea/labrea-2.5_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${P/_p/-stable-}-incdir.patch
"${FILESDIR}"/${P/_p*}-pcap_open.patch
"${FILESDIR}"/${PN}-2.5-libdir.patch
+ "${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {