Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorgbump.git;a=commitdiff;h=669b74f30e6e89c33d402f0a5e56751289986f04

commit 669b74f30e6e89c33d402f0a5e56751289986f04
Author: DeX77 <[email protected]>
Date:   Thu Nov 17 10:31:59 2016 +0100

xf86-video-chips-1.2.6-5-x86_64

* rebuild with xorg-server 1.19

diff --git a/source/x11/xf86-video-chips/FrugalBuild 
b/source/x11/xf86-video-chips/FrugalBuild
index 4853776..630aa60 100644
--- a/source/x11/xf86-video-chips/FrugalBuild
+++ b/source/x11/xf86-video-chips/FrugalBuild
@@ -3,14 +3,17 @@

pkgname=xf86-video-chips
pkgver=1.2.6
-pkgrel=4
+pkgrel=5
pkgdesc="X.Org driver for chips cards"
url="http://xorg.freedesktop.org";
groups=('x11' 'xorg-core' 'xorg-drivers')
archs=('i686' 'x86_64')
depends=('xorg-server>=1.18.4-5')
Finclude xorg
-sha1sums=('b8312cd084ba6d5604a59c1f1469cf8fd612018a')
+source=("${source[@]}" \
+       abi23.patch )
+sha1sums=('b8312cd084ba6d5604a59c1f1469cf8fd612018a' \
+          '2984e77904895860dfefc0a50ab6151002b7c43b')


# optimization OK
diff --git a/source/x11/xf86-video-chips/abi23.patch 
b/source/x11/xf86-video-chips/abi23.patch
new file mode 100644
index 0000000..bc86dca
--- /dev/null
+++ b/source/x11/xf86-video-chips/abi23.patch
@@ -0,0 +1,28 @@
+From aa82ecb1401140089fc75850c73fa917d137a0cc Mon Sep 17 00:00:00 2001
+From: Adam Jackson <[email protected]>
+Date: Tue, 19 Jul 2016 10:03:56 -0400
+Subject: Adapt Block/WakeupHandler signature for ABI 23
+
+Signed-off-by: Adam Jackson <[email protected]>
+
+diff --git a/src/compat-api.h b/src/compat-api.h
+index 6bc946f..89976e4 100644
+--- a/src/compat-api.h
++++ b/src/compat-api.h
+@@ -75,8 +75,13 @@
+
+ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
+
++#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
++#define BLOCKHANDLER_ARGS arg, pTimeout
++#else
+ #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer 
pReadmask
+ #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++#endif
+
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen
+--
+cgit v0.10.2
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to