Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-intel/files: xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
Date: Sun, 26 Jan 2014 18:03:10
Message-Id: 20140126180306.C9A4B2004C@flycatcher.gentoo.org
1 chithanh 14/01/26 18:03:06
2
3 Added:
4 xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
5 Log:
6 Fix building against xorg-server-1.15, bug #496682.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.1 x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch?rev=1.1&content-type=text/plain
15
16 Index: xf86-video-intel-2.21.15-handle-updates-to-DamageUnregister-API.patch
17 ===================================================================
18 From 524a45da56e2a052ffafa3887891caa90ba39f76 Mon Sep 17 00:00:00 2001
19 From: Chris Wilson <chris@×××××××××××××××.uk>
20 Date: Sat, 05 Oct 2013 17:42:24 +0000
21 Subject: compat-api: Map changes of DamageUnregister API in 1.14.99.2
22
23 Reported-by: Emmanuel Benisty <benisty.e@×××××.com>
24 Signed-off-by: Chris Wilson <chris@×××××××××××××××.uk>
25 ---
26 diff --git a/src/compat-api.h b/src/compat-api.h
27 index 8eb46ef..244a486 100644
28 --- a/src/compat-api.h
29 +++ b/src/compat-api.h
30 @@ -162,4 +162,8 @@ static inline void FreePixmap(PixmapPtr pixmap)
31 if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h)
32 #endif
33
34 +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
35 +#define DamageUnregister(d, dd) DamageUnregister(dd)
36 +#endif
37 +
38 #endif
39 --
40 cgit v0.9.0.2-2-gbebe