1 |
commit: 6d416078f89c317ed6814ab9e77a324e78656d48 |
2 |
Author: Matt Turner <mattst88 <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 2 03:10:19 2011 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Nov 2 03:10:19 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=6d416078 |
7 |
|
8 |
x11-libs/libdrm: rebase solaris patch, bug 389261 |
9 |
|
10 |
Trivially broken by upstream 961bf9b5c2866ccb4fedf2b45b29fb688519d0db |
11 |
|
12 |
--- |
13 |
x11-libs/libdrm/files/libdrm-2.4.23-solaris.patch | 2 +- |
14 |
1 files changed, 1 insertions(+), 1 deletions(-) |
15 |
|
16 |
diff --git a/x11-libs/libdrm/files/libdrm-2.4.23-solaris.patch b/x11-libs/libdrm/files/libdrm-2.4.23-solaris.patch |
17 |
index 5c148a4..0311a00 100644 |
18 |
--- a/x11-libs/libdrm/files/libdrm-2.4.23-solaris.patch |
19 |
+++ b/x11-libs/libdrm/files/libdrm-2.4.23-solaris.patch |
20 |
@@ -76,7 +76,7 @@ Index: libdrm-2.4.23/xf86drm.c |
21 |
+#ifdef __sun |
22 |
+ map.handle = handle; |
23 |
+#else |
24 |
- map.handle = (void *)handle; |
25 |
+ map.handle = (void *)(uintptr_t)handle; |
26 |
+#endif |
27 |
|
28 |
if(drmIoctl(fd, DRM_IOCTL_RM_MAP, &map)) |