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

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


commit d084d004271dcf1d61b4ef3a25db0cf33faa2966
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Feb 20 16:06:06 2021 +0000

    gpm: fixed build against gcc10

diff --git a/gpm/.signature b/gpm/.signature
index de8727f95..c0edf060e 100644
--- a/gpm/.signature
+++ b/gpm/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3ytIdF2rkX2lZ+LH1/SAQRlPDwxV7jAuyOB608pMvxaKw5YpsvB4/OYKUeNwOO7gBiKQcKM1SujaKINxExSrfgs=
-SHA256 (Pkgfile) = fb1986b3400914332b6f80c033f4295b7b21f7f7aa8fc00932c7c462801f7c63
+RWSagIOpLGJF388AXs1VXqDK83JIH+tUqUqcHbIO55WC4Siz0zi05+0blCy+stUVnhse2cv4+YoKqrzc70GMAT9upXUnjoprVgI=
+SHA256 (Pkgfile) = 1556780b4fd8231294d560c83f201df96b9b29e70a6e2be39fcb25ed5e2352bf
 SHA256 (.footprint) = de489cff1dda5ecf94ed8bfbb5ccc9faba51d67fe3a71ad871bbab332b623e62
 SHA256 (gpm-1.20.7.tar.bz2) = f011b7dc7afb824e0a017b89b7300514e772853ece7fc4ee640310889411a48d
 SHA256 (gpm-1.20.7-glibc_2.26-1.patch) = 420820b560bfdb22e0e5fdc05416b380f179091b00c42c407add245ff317d32d
diff --git a/gpm/Pkgfile b/gpm/Pkgfile
index a3f21b5fe..1271113f7 100644
--- a/gpm/Pkgfile
+++ b/gpm/Pkgfile
@@ -19,6 +19,7 @@ build() {
 
 	./autogen.sh
 
+	CFLAGS+=' -fcommon' \
 	./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc


More information about the crux-commits mailing list