1 |
commit: b95af98573fceb8bd567bbadffd244002277bbf4 |
2 |
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 29 16:31:16 2015 +0000 |
4 |
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de> |
5 |
CommitDate: Thu Jan 29 16:31:16 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=b95af985 |
7 |
|
8 |
x11-libs/libdrm: sync some more changes with portage |
9 |
|
10 |
--- |
11 |
...8-solaris.patch => libdrm-2.4.58-solaris.patch} | 24 ++++++++-------------- |
12 |
x11-libs/libdrm/libdrm-9999.ebuild | 4 ++-- |
13 |
2 files changed, 10 insertions(+), 18 deletions(-) |
14 |
|
15 |
diff --git a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch b/x11-libs/libdrm/files/libdrm-2.4.58-solaris.patch |
16 |
similarity index 83% |
17 |
rename from x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch |
18 |
rename to x11-libs/libdrm/files/libdrm-2.4.58-solaris.patch |
19 |
index 4707b8b..9e41100 100644 |
20 |
--- a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch |
21 |
+++ b/x11-libs/libdrm/files/libdrm-2.4.58-solaris.patch |
22 |
@@ -1,7 +1,5 @@ |
23 |
-Index: include/drm/drm.h |
24 |
-=================================================================== |
25 |
---- include/drm/drm.h |
26 |
-+++ include/drm/drm.h |
27 |
+--- a/include/drm/drm.h |
28 |
++++ b/include/drm/drm.h |
29 |
@@ -54,7 +54,11 @@ typedef int32_t __s32; |
30 |
typedef uint32_t __u32; |
31 |
typedef int64_t __s64; |
32 |
@@ -47,10 +45,8 @@ Index: include/drm/drm.h |
33 |
}; |
34 |
|
35 |
/** |
36 |
-Index: radeon/radeon_bo_gem.c |
37 |
-=================================================================== |
38 |
---- radeon/radeon_bo_gem.c |
39 |
-+++ radeon/radeon_bo_gem.c |
40 |
+--- a/radeon/radeon_bo_gem.c |
41 |
++++ b/radeon/radeon_bo_gem.c |
42 |
@@ -38,6 +38,13 @@ |
43 |
#include <string.h> |
44 |
#include <sys/mman.h> |
45 |
@@ -66,10 +62,8 @@ Index: radeon/radeon_bo_gem.c |
46 |
#include "xf86drm.h" |
47 |
#include "xf86atomic.h" |
48 |
#include "drm.h" |
49 |
-Index: xf86drm.c |
50 |
-=================================================================== |
51 |
---- xf86drm.c |
52 |
-+++ xf86drm.c |
53 |
+--- a/xf86drm.c |
54 |
++++ b/xf86drm.c |
55 |
@@ -972,7 +972,11 @@ int drmRmMap(int fd, drm_handle_t handle |
56 |
{ |
57 |
drm_map_t map; |
58 |
@@ -92,10 +86,8 @@ Index: xf86drm.c |
59 |
if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) |
60 |
return NULL; |
61 |
|
62 |
-Index: xf86drm.h |
63 |
-=================================================================== |
64 |
---- xf86drm.h |
65 |
-+++ xf86drm.h |
66 |
+--- a/xf86drm.h |
67 |
++++ b/xf86drm.h |
68 |
@@ -64,6 +64,13 @@ |
69 |
|
70 |
#endif |
71 |
|
72 |
diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild |
73 |
index 8357c63..98da7c5 100644 |
74 |
--- a/x11-libs/libdrm/libdrm-9999.ebuild |
75 |
+++ b/x11-libs/libdrm/libdrm-9999.ebuild |
76 |
@@ -16,7 +16,7 @@ else |
77 |
fi |
78 |
|
79 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" |
80 |
-VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware" |
81 |
+VIDEO_CARDS="exynos freedreno intel nouveau omap radeon tegra vmware" |
82 |
for card in ${VIDEO_CARDS}; do |
83 |
IUSE_VIDEO_CARDS+=" video_cards_${card}" |
84 |
done |
85 |
@@ -30,7 +30,7 @@ RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}] |
86 |
DEPEND="${RDEPEND}" |
87 |
|
88 |
PATCHES=( |
89 |
- "${FILESDIR}"/${PN}-2.4.28-solaris.patch |
90 |
+ "${FILESDIR}"/${PN}-2.4.58-solaris.patch |
91 |
) |
92 |
|
93 |
src_prepare() { |