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

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


commit 4821d3fc6ba8852dd798bdebd396fb8b7a8baa48
Author: Juergen Daubert <jue at jue.li>
Date:   Sat Aug 1 17:23:41 2020 +0000

    sharutils: fix build with gcc 10.x

diff --git a/sharutils/.signature b/sharutils/.signature
index 830a23ec3..4a8b8c1cd 100644
--- a/sharutils/.signature
+++ b/sharutils/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/ZXGklDo2slQ/st9EZyNx+q09XM9x+rDUK32BPsiULn1Kv7vfGjJb64EklhJ3+DPaMC2HunG58ZTE5P/UklbCgU=
-SHA256 (Pkgfile) = 89dd310a4602ebc0e05c10e11595ab1c9ef50b0a27707befc2e4d66aa084f590
+RWSE3ohX2g5d/XZN/oKeg5ZVa78LP68Gp8wzrZiCcwX8u4Klwh88Lrq+3S4kpR0Ud68rjwFs57b9UHyrjVDqSeY6AXBi75nrWgA=
+SHA256 (Pkgfile) = df14a39af7d63cfd99e9dd19967a9aa47df1b45716552eb199fcd74512f2c14a
 SHA256 (.footprint) = 6362b9ff82a8e0a95e39cb4b7e7154da1b716f1f3dcb21dea58d1a25dd9e7419
 SHA256 (sharutils-4.15.2.tar.xz) = 2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a
diff --git a/sharutils/Pkgfile b/sharutils/Pkgfile
index 4a2d22f98..610557792 100644
--- a/sharutils/Pkgfile
+++ b/sharutils/Pkgfile
@@ -15,7 +15,7 @@ build(){
 
   sed 's/FUNC_FFLUSH_STDIN/-1/g' -i lib/fseeko.c
 
-  make
+  make CFLAGS+=" -fcommon"
   make DESTDIR=$PKG install
 
   rm -rf $PKG/usr/share/info


More information about the crux-commits mailing list