summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-03-23 19:38:33 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-03-23 19:38:33 +0000
commitc81cbc9bcd3fec62cb5a57e21be3da322f518f15 (patch)
tree2d333ea653581dbd7521779b43eb0745a9b63275 /x11-libs/libdrm/files
parentUnmask binutils-apple-3.2-r1 sooner than expected, since it is the key to sol... (diff)
downloadgentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.tar.gz
gentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.tar.bz2
gentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.zip
add patch for bug 298352
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libdrm/files')
-rw-r--r--x11-libs/libdrm/files/2.4.18-0001-datatypes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch b/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch
new file mode 100644
index 000000000000..6a1bfafcbb1b
--- /dev/null
+++ b/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch
@@ -0,0 +1,21 @@
+diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
+index dfc390e..49b3b54 100644
+--- a/include/drm/drm_mode.h
++++ b/include/drm/drm_mode.h
+@@ -308,11 +308,11 @@ struct drm_mode_crtc_lut {
+ #define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
+
+ struct drm_mode_crtc_page_flip {
+- uint32_t crtc_id;
+- uint32_t fb_id;
+- uint32_t flags;
+- uint32_t reserved;
+- uint64_t user_data;
++ __u32 crtc_id;
++ __u32 fb_id;
++ __u32 flags;
++ __u32 reserved;
++ __u64 user_data;
+ };
+
+ #endif