* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pathload/, net-analyzer/pathload/files/
@ 2022-09-29 4:28 Ionen Wolkens
0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2022-09-29 4:28 UTC (permalink / raw
To: gentoo-commits
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() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pathload/, net-analyzer/pathload/files/
@ 2022-10-21 12:48 Ionen Wolkens
0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2022-10-21 12:48 UTC (permalink / raw
To: gentoo-commits
commit: 938426f3571cf223870bc6f8d26f1259bca4c84d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 11:53:34 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 12:47:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=938426f3
net-analyzer/pathload: improve clang16/c2x fixes
Did not need much more to drop gnu89, and this could
potentially have caused issues with clang16 either way.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../pathload/files/pathload-1.3.2-clang16.patch | 24 ++++++++++++++++++++++
net-analyzer/pathload/pathload-1.3.2-r1.ebuild | 3 +--
2 files changed, 25 insertions(+), 2 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
index 9cce41e48417..479aaeec520e 100644
--- a/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
+++ b/net-analyzer/pathload/files/pathload-1.3.2-clang16.patch
@@ -8,3 +8,27 @@ https://bugs.gentoo.org/870661
-main(){return(0);}
+int main(void){return(0);}
EOF
+--- a/pathload_rcv.h
++++ b/pathload_rcv.h
+@@ -85,3 +85,3 @@
+ EXTERN l_int32 get_sndr_time_interval(double snd_time[],double *sum);
+-EXTERN void sig_alrm();
++EXTERN void sig_alrm(int __attribute__((__unused__)) unused);
+ EXTERN void terminate_gracefully(struct timeval exp_start_time);
+@@ -100,3 +100,3 @@
+ EXTERN void help();
+-EXTERN void sig_sigusr1() ;
++EXTERN void sig_sigusr1(int __attribute__((__unused__)) unused) ;
+
+--- a/pathload_rcv_func.c
++++ b/pathload_rcv_func.c
+@@ -669,3 +669,3 @@
+
+-void sig_sigusr1()
++void sig_sigusr1(int __attribute__((__unused__)) unused)
+ {
+@@ -674,3 +674,3 @@
+
+-void sig_alrm()
++void sig_alrm(int __attribute__((__unused__)) unused)
+ {
diff --git a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
index c2fbec052f5d..b8e220379490 100644
--- a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
+++ b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit flag-o-matic toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Non-intrusive utility for estimation of available bandwidth of Internet paths"
HOMEPAGE="https://www.cc.gatech.edu/fac/constantinos.dovrolis/bw-est/pathload.html"
@@ -21,7 +21,6 @@ PATCHES=(
src_configure() {
tc-export CC
- append-cflags -std=gnu89 # old codebase, incompatible with c2x
default
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-21 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 12:48 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pathload/, net-analyzer/pathload/files/ Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2022-09-29 4:28 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox