core/xf86-video-intel/intel-2.21.15-xserver-1.15-compat.patch

14 lines
546 B
Diff

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