[crux-commits] ports/contrib (refs/remotes/origin/3.6): tftp-hpa: fixed build against gcc10

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:50 UTC 2021


commit 73e63dc3f0af451fd2af70200409c090f2293016
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Feb 21 14:20:49 2021 +0000

    tftp-hpa: fixed build against gcc10

diff --git a/tftp-hpa/.signature b/tftp-hpa/.signature
index 212c76c44..d00b3ac70 100644
--- a/tftp-hpa/.signature
+++ b/tftp-hpa/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF352LLBZCou3Wnw0lvBYD8ZXBPo5QA9vGdOewPzDnxduADJRlmFZhC5php4DLLb6AC2PVc5sxLGr1B4Oo9jzPlQI=
-SHA256 (Pkgfile) = 2cf41a3cc398d135b98aa037eefb2df97f8a399456b7b994c78ea09fc8a00a85
+RWSagIOpLGJF32qAsmJQTf2d/QxovM/S3t+dX3x+7mc2/lEI/ykV3iqey2K7uR1xDflRdDna0ZAk+p7ie15gLLjvXaV9nwmwYws=
+SHA256 (Pkgfile) = 732a8e8a12687db5e42e2a8d0919da7b2a773e72b90a354e85146a6c372698ea
 SHA256 (.footprint) = 43cbffa51e0c132c7b66c6fe4ed7b2d7c3a46d67c71258446e93911b2bcd979c
 SHA256 (tftp-hpa-5.2.tar.xz) = afee361df96a2f88344e191f6a25480fd714e1d28d176c3f10cc43fa206b718b
diff --git a/tftp-hpa/Pkgfile b/tftp-hpa/Pkgfile
index 711575838..4dbf6e51f 100644
--- a/tftp-hpa/Pkgfile
+++ b/tftp-hpa/Pkgfile
@@ -9,6 +9,7 @@ source=(http://www.kernel.org/pub/software/network/tftp/tftp-hpa/$name-$version.
 
 build () {
   cd $name-$version
+  CFLAGS+=' -fcommon' \
   ./configure --prefix=/usr
   make
   make INSTALLROOT=$PKG install


More information about the crux-commits mailing list