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-modesetting/files: xf86-video-modesetting-0.8.0-damageunregister.patch |
Date: | Thu, 28 Nov 2013 18:43:19 |
Message-Id: | 20131128184314.C8A542004E@flycatcher.gentoo.org |
1 | chithanh 13/11/28 18:43:14 |
2 | |
3 | Added: xf86-video-modesetting-0.8.0-damageunregister.patch |
4 | Log: |
5 | Add patch to build against recent xorg-server. Drop old. |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/xf86-video-modesetting/files/xf86-video-modesetting-0.8.0-damageunregister.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-modesetting/files/xf86-video-modesetting-0.8.0-damageunregister.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-modesetting/files/xf86-video-modesetting-0.8.0-damageunregister.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xf86-video-modesetting-0.8.0-damageunregister.patch |
16 | =================================================================== |
17 | From beca4dfb0e4d11d3729214967a1fe56ee5669831 Mon Sep 17 00:00:00 2001 |
18 | From: Keith Packard <keithp@××××××.com> |
19 | Date: Fri, 15 Nov 2013 04:39:52 +0000 |
20 | Subject: Handle new DamageUnregister API which has only one argument |
21 | |
22 | API change in 1.15 |
23 | |
24 | Signed-off-by: Keith Packard <keithp@××××××.com> |
25 | --- |
26 | diff --git a/src/drmmode_display.h b/src/drmmode_display.h |
27 | index adf4b99..745c484 100644 |
28 | --- a/src/drmmode_display.h |
29 | +++ b/src/drmmode_display.h |
30 | @@ -37,6 +37,10 @@ |
31 | #define MODESETTING_OUTPUT_SLAVE_SUPPORT 1 |
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 | struct dumb_bo { |
39 | uint32_t handle; |
40 | uint32_t size; |
41 | -- |
42 | cgit v0.9.0.2-2-gbebe |