[crux-commits] ports/xorg (3.6): xorg-xf86-video-openchrome: fix build with gcc 10.x

crux at crux.nu crux at crux.nu
Sat Aug 1 17:28:30 UTC 2020


commit 8b2ca2b966f66b8c76f57a4eeb921164a7288d94
Author: Juergen Daubert <jue at jue.li>
Date:   Sat Aug 1 17:28:23 2020 +0000

    xorg-xf86-video-openchrome: fix build with gcc 10.x

diff --git a/xorg-xf86-video-openchrome/.signature b/xorg-xf86-video-openchrome/.signature
index d908bdcf..1ef49770 100644
--- a/xorg-xf86-video-openchrome/.signature
+++ b/xorg-xf86-video-openchrome/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/xorg.pub
-RWTSGWF5Q7TndJjlEKp/Nd1FdjvTd/SmVDRkY2fDaq/q2NH8r0JUhLwgFvvKwjHeyHTH1LykdTtKxt1DnAB3fj7fPQG8rjFaNAs=
-SHA256 (Pkgfile) = 14fd7db3ff1e9d44882150bd3d73732ae3fc01290fbc02302f2cbeac88f0d0a0
+RWTSGWF5Q7TndLqp/ym9g1W+hjWcEWnkTxppZ6FLWojD/0SA7EeeGz9GsTkQKD3/k8RjAwlKWxwqULKscXrWMQbTI6tzQ/PTLwo=
+SHA256 (Pkgfile) = 0640c6b56fafd6f099a395d26a1a7283b45cef85bb715a02d3253735bd237ed4
 SHA256 (.footprint) = e70eebb35a855e620d06d047ce92a5f33cb0e3f506ba19fb5846ffbc75e703c0
 SHA256 (xf86-video-openchrome-0.6.0.tar.bz2) = da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
diff --git a/xorg-xf86-video-openchrome/Pkgfile b/xorg-xf86-video-openchrome/Pkgfile
index af78ecb9..bfce6bd8 100644
--- a/xorg-xf86-video-openchrome/Pkgfile
+++ b/xorg-xf86-video-openchrome/Pkgfile
@@ -5,7 +5,7 @@
 
 name=xorg-xf86-video-openchrome
 version=0.6.0
-release=1
+release=2
 source=(https://xorg.freedesktop.org/archive/individual/driver/xf86-video-openchrome-$version.tar.bz2)
 
 build() {
@@ -13,6 +13,6 @@ build() {
 
 	./configure --prefix=/usr
 
-	make
+	make CFLAGS+=" -fcommon"
 	make DESTDIR=$PKG install
 }


More information about the crux-commits mailing list