commit:     6d9a06c3abe924dba6bd47811b20e731232293dd
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 01:45:18 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 03:19:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9a06c3

net-analyzer/labrea: fix build w/ upcoming clang16

Closes: https://bugs.gentoo.org/871513
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch | 7 +++++++
 net-analyzer/labrea/labrea-2.5_p1.ebuild              | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

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() {

Reply via email to