[crux-commits] ports/contrib (3.6): ncftp: fixed build against gcc10

crux at crux.nu crux at crux.nu
Sat Feb 20 16:47:33 UTC 2021


commit 9ee1bed784caf7de58eea45fe07cc64c074cb91f
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Feb 20 16:13:21 2021 +0000

    ncftp: fixed build against gcc10

diff --git a/ncftp/.signature b/ncftp/.signature
index 8f80b9aec..9c72cb90c 100644
--- a/ncftp/.signature
+++ b/ncftp/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/7hda0siU0Pcs94rD/EsfE5uiM5WvJHfhWlBytfKdQjxyzciaZmeF8KE6+IWYWfpuUOiECqvUAfb6bFEmS2vw8=
-SHA256 (Pkgfile) = 17cb889aecd6a7014548da865bb9d06cfe063dbfdc490a2610d5b4c63c317d08
+RWSagIOpLGJF35ztub0kqhq3ONKCY2MSOCHKB57yhyzUOaL2CIlBrlDXNQKkIPTduQ5yoecQQ1bUAHEo0k7LVaBXCLDd1QYBNQA=
+SHA256 (Pkgfile) = 9d7ae024361a2e0ede5af7a981f7e2c758c92182eaf9f60ae1d870a2c28030e8
 SHA256 (.footprint) = 6cf394922ffe09fd923b42ed4fc08fff4cc2aa76702f8ee304e32cfe79a0ece2
 SHA256 (ncftp-3.2.6-src.tar.xz) = 5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d
diff --git a/ncftp/Pkgfile b/ncftp/Pkgfile
index 713afd8c3..639a589c6 100644
--- a/ncftp/Pkgfile
+++ b/ncftp/Pkgfile
@@ -10,6 +10,7 @@ source=(ftp://ftp.ncftp.com/ncftp/ncftp-$version-src.tar.xz)
 
 build() {
   cd $name-$version
+  CFLAGS+=' -fcommon'
   ./configure --prefix=/usr
 
   make


More information about the crux-commits mailing list