[crux-commits] ports/opt (3.6): iftop: fix build with gcc 10.x

crux at crux.nu crux at crux.nu
Sat Aug 1 17:15:23 UTC 2020


commit 898fc56b3e8c8244b5c546396d3bed69b586c4b8
Author: Juergen Daubert <jue at jue.li>
Date:   Sat Aug 1 17:15:18 2020 +0000

    iftop: fix build with gcc 10.x

diff --git a/iftop/.signature b/iftop/.signature
index f7d0f7d7e..06c562fe6 100644
--- a/iftop/.signature
+++ b/iftop/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/RbCZof04xtNgCdFPsVTboT48DMgR16fW3ydiH9TIma9dCtfILvKDVTsK3sqdTqovlqgChGNhdO3uk0aIfgZtAs=
-SHA256 (Pkgfile) = 043760184fa1eb23efde3ca46a19128ba0eabfa3698cf2618ea750b89e5ef10a
+RWSE3ohX2g5d/RHiO9HG05q8rH+hosFw2zCXFn1BE+MRtrbfxziyd5GVxgscjGyEAO4yRASejpRkTGluzPi87tti74g6u1D/SgA=
+SHA256 (Pkgfile) = 3d3d385f865ef9492e5543fd38ba0d26e470d3f3cce8d04d27c1ccef729f9542
 SHA256 (.footprint) = 259f94be5b2e913090b8aac0e0ef4c7db5cdd326d5156076d8190530b2738a31
 SHA256 (iftop-1.0pre4.tar.gz) = f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
diff --git a/iftop/Pkgfile b/iftop/Pkgfile
index 340bcaae2..53d379a1d 100644
--- a/iftop/Pkgfile
+++ b/iftop/Pkgfile
@@ -11,6 +11,6 @@ source=(http://www.ex-parrot.com/~pdw/iftop/download/$name-$version.tar.gz)
 build () {
     cd $name-$version
     ./configure --prefix=/usr
-    make iftop
+    make CFLAGS+=" -fcommon" iftop
     make DESTDIR=$PKG install
 }


More information about the crux-commits mailing list