Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pathload/, net-analyzer/pathload/files/
Date: Thu, 29 Sep 2022 04:28:05
Message-Id: 1664425075.85b0af768aa4c75bef38afbfe5e3727f146b8bd1.ionen@gentoo
1 commit: 85b0af768aa4c75bef38afbfe5e3727f146b8bd1
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 03:48:05 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 04:17:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b0af76
7
8 net-analyzer/pathload: fix configure with clang
9
10 Doesn't look like will get to use eautoreconf here.
11
12 Closes: https://bugs.gentoo.org/870661
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 net-analyzer/pathload/files/pathload-1.3.2-clang16.patch | 10 ++++++++++
16 net-analyzer/pathload/pathload-1.3.2-r1.ebuild | 1 +
17 2 files changed, 11 insertions(+)
18
19 diff --git a/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch b/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
20 new file mode 100644
21 index 000000000000..9cce41e48417
22 --- /dev/null
23 +++ b/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
24 @@ -0,0 +1,10 @@
25 +configure.ac is missing, so need to edit this manually
26 +
27 +https://bugs.gentoo.org/870661
28 +--- a/configure
29 ++++ b/configure
30 +@@ -630,3 +630,3 @@
31 +
32 +-main(){return(0);}
33 ++int main(void){return(0);}
34 + EOF
35
36 diff --git a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
37 index 0c086a07ae5c..b8e220379490 100644
38 --- a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
39 +++ b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
40 @@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~x86"
41
42 PATCHES=(
43 "${FILESDIR}"/${P}-make.patch
44 + "${FILESDIR}"/${P}-clang16.patch
45 )
46
47 src_configure() {