summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-28 23:48:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-29 00:17:55 -0400
commit85b0af768aa4c75bef38afbfe5e3727f146b8bd1 (patch)
treee63167ed11270f3efd7b58923a92ba66cfeaf60f /net-analyzer/pathload
parentnet-analyzer/pathload: EAPI7->8, fix license, tidy a bit (diff)
downloadgentoo-85b0af768aa4c75bef38afbfe5e3727f146b8bd1.tar.gz
gentoo-85b0af768aa4c75bef38afbfe5e3727f146b8bd1.tar.bz2
gentoo-85b0af768aa4c75bef38afbfe5e3727f146b8bd1.zip
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@gentoo.org>
Diffstat (limited to 'net-analyzer/pathload')
-rw-r--r--net-analyzer/pathload/files/pathload-1.3.2-clang16.patch10
-rw-r--r--net-analyzer/pathload/pathload-1.3.2-r1.ebuild1
2 files changed, 11 insertions, 0 deletions
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() {