1dc79baea57b6f0d42f4c2171f6b1ec87e41bd05
[gentoo.git] /
1 From 524a45da56e2a052ffafa3887891caa90ba39f76 Mon Sep 17 00:00:00 2001
2 From: Chris Wilson <chris@chris-wilson.co.uk>
3 Date: Sat, 05 Oct 2013 17:42:24 +0000
4 Subject: compat-api: Map changes of DamageUnregister API in 1.14.99.2
5
6 Reported-by: Emmanuel Benisty <benisty.e@gmail.com>
7 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
8 ---
9 diff --git a/src/compat-api.h b/src/compat-api.h
10 index 8eb46ef..244a486 100644
11 --- a/src/compat-api.h
12 +++ b/src/compat-api.h
13 @@ -162,4 +162,8 @@ static inline void FreePixmap(PixmapPtr pixmap)
14         if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
15  #endif
16  
17 +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
18 +#define DamageUnregister(d, dd) DamageUnregister(dd)
19 +#endif
20 +
21  #endif
22 --
23 cgit v0.9.0.2-2-gbebe
24