Author: igor
Date: Fri Jan  3 02:39:44 2014
New Revision: 2812

Log:
xorg intel driver fix

Added:
   trunk/xf86-video-intel/
   trunk/xf86-video-intel/xf86-video-intel-2.21.15-api_change-1.patch

Added: trunk/xf86-video-intel/xf86-video-intel-2.21.15-api_change-1.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/xf86-video-intel/xf86-video-intel-2.21.15-api_change-1.patch  Fri Jan 
 3 02:39:44 2014        (r2812)
@@ -0,0 +1,19 @@
+Submitted By:            Igor Živković <[email protected]>
+Date:                    2014-01-03
+Initial Package Version: 2.21.15
+Upstream Status:         Fixed
+Origin:                  Upstream
+Description:             Fixes compilation with xorg-server version >= 1.15.
+
+diff -Naur xf86-video-intel-2.21.15.orig/src/compat-api.h 
xf86-video-intel-2.21.15/src/compat-api.h
+--- xf86-video-intel-2.21.15.orig/src/compat-api.h     2013-05-21 
12:15:11.000000000 +0200
++++ xf86-video-intel-2.21.15/src/compat-api.h  2014-01-03 11:34:52.855311042 
+0100
+@@ -157,5 +157,8 @@
+ #define SourceValidate(d, x, y, w, h, mode) \
+       if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, 
w, h)
+ #endif
++#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
++#define DamageUnregister(d, dd) DamageUnregister(dd)
++#endif
+ 
+ #endif
-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to