[arch-commits] Commit in xf86-video-fbdev/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:07:27 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:07:26
  Author: felixonmars
Revision: 383766

archrelease: copy trunk to staging-x86_64

Added:
  xf86-video-fbdev/repos/staging-x86_64/
  xf86-video-fbdev/repos/staging-x86_64/PKGBUILD
    (from rev 383765, xf86-video-fbdev/trunk/PKGBUILD)
  xf86-video-fbdev/repos/staging-x86_64/gcc8.diff
    (from rev 383765, xf86-video-fbdev/trunk/gcc8.diff)

-----------+
 PKGBUILD  |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 gcc8.diff |   11 +++++++++++
 2 files changed, 63 insertions(+)

Copied: xf86-video-fbdev/repos/staging-x86_64/PKGBUILD (from rev 383765, xf86-video-fbdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:07:26 UTC (rev 383766)
@@ -0,0 +1,52 @@
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-fbdev
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="X.org framebuffer video driver"
+arch=(x86_64)
+license=('custom')
+url="https://xorg.freedesktop.org/"
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0' git)
+conflicts=('xorg-server<1.20' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25')
+groups=('xorg-drivers')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
+        gcc8.diff)
+sha256sums=('dcc3d85f378022180e437a9ec00a59b6cb7680ff79c40394d695060af2374699'
+            'SKIP'
+            '050db537aae39b6deb1b2531b0064d62e2725f92b6c5c8ee6ade32e73cd3d5e8')
+validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np0 -i ../gcc8.diff
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+  # With them, module fail to load with undefined symbol.
+  # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
+  export CFLAGS=${CFLAGS/-fno-plt}
+  export CXXFLAGS=${CXXFLAGS/-fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
+

Copied: xf86-video-fbdev/repos/staging-x86_64/gcc8.diff (from rev 383765, xf86-video-fbdev/trunk/gcc8.diff)
===================================================================
--- staging-x86_64/gcc8.diff	                        (rev 0)
+++ staging-x86_64/gcc8.diff	2020-05-16 09:07:26 UTC (rev 383766)
@@ -0,0 +1,11 @@
+--- src/fbdev.c	2018-05-11 21:15:36.650039778 +0200
++++ src/fbdev.c.new	2018-05-11 21:17:27.063021717 +0200
+@@ -1008,7 +1008,7 @@
+ 	fPtr->CloseScreen = pScreen->CloseScreen;
+ 	pScreen->CloseScreen = FBDevCloseScreen;
+ 
+-#if XV
++#ifdef XV
+ 	{
+ 	    XF86VideoAdaptorPtr *ptr;
+ 


More information about the arch-commits mailing list