commit:     85b0af768aa4c75bef38afbfe5e3727f146b8bd1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 03:48:05 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 04:17:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b0af76

net-analyzer/pathload: fix configure with clang

Doesn't look like will get to use eautoreconf here.

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

 net-analyzer/pathload/files/pathload-1.3.2-clang16.patch | 10 ++++++++++
 net-analyzer/pathload/pathload-1.3.2-r1.ebuild           |  1 +
 2 files changed, 11 insertions(+)

diff --git a/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch 
b/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
new file mode 100644
index 000000000000..9cce41e48417
--- /dev/null
+++ b/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
@@ -0,0 +1,10 @@
+configure.ac is missing, so need to edit this manually
+
+https://bugs.gentoo.org/870661
+--- a/configure
++++ b/configure
+@@ -630,3 +630,3 @@
+ 
+-main(){return(0);}
++int main(void){return(0);}
+ EOF

diff --git a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild 
b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
index 0c086a07ae5c..b8e220379490 100644
--- a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
+++ b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
@@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~x86"
 
 PATCHES=(
        "${FILESDIR}"/${P}-make.patch
+       "${FILESDIR}"/${P}-clang16.patch
 )
 
 src_configure() {

Reply via email to