summaryrefslogtreecommitdiff
path: root/extra/xf86-video-intel/intel-2.21.15-xserver-1.15-compat.patch
blob: 714609b1e68631b27250087e0bd2eef02dd1a323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -up xf86-video-intel-2.21.15/src/compat-api.h.jx xf86-video-intel-2.21.15/src/compat-api.h
--- xf86-video-intel-2.21.15/src/compat-api.h.jx	2013-05-21 06:15:11.000000000 -0400
+++ xf86-video-intel-2.21.15/src/compat-api.h	2013-10-24 15:30:52.291337300 -0400
@@ -158,4 +158,8 @@ static inline void FreePixmap(PixmapPtr
 	if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
 #endif
 
+#if XORG_VERSION_CURRENT > XORG_VERSION_NUMERIC(1,14,99,3,0)
+#define DamageUnregister(a, b) DamageUnregister(a)
+#endif
+
 #endif