mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 11:59:21 +08:00
libdrm: fix bad formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
97e821fc3e
commit
6b9981a731
12
libs/libdrm/patches/010-64bit.patch
Normal file
12
libs/libdrm/patches/010-64bit.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- a/include/drm/drm.h
|
||||||
|
+++ b/include/drm/drm.h
|
||||||
|
@@ -38,6 +38,9 @@
|
||||||
|
|
||||||
|
#if defined(__linux__)
|
||||||
|
|
||||||
|
+#ifndef __SANE_USERSPACE_TYPES__
|
||||||
|
+#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
|
||||||
|
+#endif
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <asm/ioctl.h>
|
||||||
|
typedef unsigned int drm_handle_t;
|
Loading…
Reference in New Issue
Block a user