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

crux at crux.nu crux at crux.nu
Fri Jul 31 13:44:11 UTC 2020


commit e8d12ce3d65d5c45f339dc956c07f84ed3861db3
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Jul 31 13:44:04 2020 +0000

    tcsh: fix build with gcc 10.x

diff --git a/tcsh/.signature b/tcsh/.signature
index fa32ada39..4fa53d020 100644
--- a/tcsh/.signature
+++ b/tcsh/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/QOO30uVHwojv+NCl2YF6caUq9chcJdJAUscCjCoTrR3FdLVTSH1nfUdD8W8i9/LIVgw82Y7DxXoNxAovbHQfQo=
-SHA256 (Pkgfile) = 37cd6211e8ae5fa2b8e15297f4fd6c9e19ae6d85bf1f2586f7afb780bdfbe070
+RWSE3ohX2g5d/a8xk5/rras/FEFpCOvJHac3WjKputcqTqjfeBqWhsjOl/VO+kxCAP9B6+/CZ4bnGOMcQ8CMee1DaTK7+SU0nQk=
+SHA256 (Pkgfile) = 0b50bff1be7015d7c0d5f87ce96e79cff80b1dff3f215453d15d41b03a8994d9
 SHA256 (.footprint) = 5be3b3d66028dc2cb65669e82789ccac5fec6fbc7bab98c5cf8a058b9ab185d6
 SHA256 (tcsh-6.22.02.tar.gz) = ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
 SHA256 (csh.login) = d8b9070db817356c533ae528e54c2885116ce6a900af777c87c784565e3bbbc0
diff --git a/tcsh/Pkgfile b/tcsh/Pkgfile
index af52792a1..050064c74 100644
--- a/tcsh/Pkgfile
+++ b/tcsh/Pkgfile
@@ -13,7 +13,7 @@ build() {
     cd $name-$version
 
     ./configure --prefix=/usr --bindir=/bin
-    make
+    make CFLAGS="$CFLAGS -fcommon"
     make DESTDIR=$PKG install
 
     rm -r $PKG/usr/share/locale


More information about the crux-commits mailing list