1 |
commit: d84951eda6d51c84fc559730b6df1a549a13cad4 |
2 |
Author: Matt Turner <mattst88 <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 22 17:43:26 2014 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 22 17:43:26 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=d84951ed |
7 |
|
8 |
x11-libs/libdrm: Update solaris patch |
9 |
|
10 |
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=519380 |
11 |
|
12 |
--- |
13 |
x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch | 25 ++++++++++++----------- |
14 |
1 file changed, 13 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch b/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch |
17 |
index 0311a00..4707b8b 100644 |
18 |
--- a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch |
19 |
+++ b/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch |
20 |
@@ -1,7 +1,7 @@ |
21 |
-Index: libdrm-2.4.23/include/drm/drm.h |
22 |
+Index: include/drm/drm.h |
23 |
=================================================================== |
24 |
---- libdrm-2.4.23.orig/include/drm/drm.h |
25 |
-+++ libdrm-2.4.23/include/drm/drm.h |
26 |
+--- include/drm/drm.h |
27 |
++++ include/drm/drm.h |
28 |
@@ -54,7 +54,11 @@ typedef int32_t __s32; |
29 |
typedef uint32_t __u32; |
30 |
typedef int64_t __s64; |
31 |
@@ -47,10 +47,10 @@ Index: libdrm-2.4.23/include/drm/drm.h |
32 |
}; |
33 |
|
34 |
/** |
35 |
-Index: libdrm-2.4.23/radeon/radeon_bo_gem.c |
36 |
+Index: radeon/radeon_bo_gem.c |
37 |
=================================================================== |
38 |
---- libdrm-2.4.23.orig/radeon/radeon_bo_gem.c |
39 |
-+++ libdrm-2.4.23/radeon/radeon_bo_gem.c |
40 |
+--- radeon/radeon_bo_gem.c |
41 |
++++ radeon/radeon_bo_gem.c |
42 |
@@ -38,6 +38,13 @@ |
43 |
#include <string.h> |
44 |
#include <sys/mman.h> |
45 |
@@ -62,13 +62,14 @@ Index: libdrm-2.4.23/radeon/radeon_bo_gem.c |
46 |
+#include <stropts.h> |
47 |
+#endif |
48 |
+ |
49 |
+ #include "libdrm.h" |
50 |
#include "xf86drm.h" |
51 |
#include "xf86atomic.h" |
52 |
#include "drm.h" |
53 |
-Index: libdrm-2.4.23/xf86drm.c |
54 |
+Index: xf86drm.c |
55 |
=================================================================== |
56 |
---- libdrm-2.4.23.orig/xf86drm.c |
57 |
-+++ libdrm-2.4.23/xf86drm.c |
58 |
+--- xf86drm.c |
59 |
++++ xf86drm.c |
60 |
@@ -972,7 +972,11 @@ int drmRmMap(int fd, drm_handle_t handle |
61 |
{ |
62 |
drm_map_t map; |
63 |
@@ -91,10 +92,10 @@ Index: libdrm-2.4.23/xf86drm.c |
64 |
if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) |
65 |
return NULL; |
66 |
|
67 |
-Index: libdrm-2.4.23/xf86drm.h |
68 |
+Index: xf86drm.h |
69 |
=================================================================== |
70 |
---- libdrm-2.4.23.orig/xf86drm.h |
71 |
-+++ libdrm-2.4.23/xf86drm.h |
72 |
+--- xf86drm.h |
73 |
++++ xf86drm.h |
74 |
@@ -64,6 +64,13 @@ |
75 |
|
76 |
#endif |