libdrm: fix bad formats for mips64 and ppc64
authorRosen Penev <redacted>
Mon, 31 Jan 2022 06:57:30 +0000 (22:57 -0800)
committerRosen Penev <redacted>
Mon, 31 Jan 2022 18:25:32 +0000 (10:25 -0800)
Signed-off-by: Rosen Penev <redacted>
libs/libdrm/patches/010-64bit.patch [new file with mode: 0644]

diff --git a/libs/libdrm/patches/010-64bit.patch b/libs/libdrm/patches/010-64bit.patch
new file mode 100644 (file)
index 0000000..adc7e55
--- /dev/null
@@ -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;
git clone https://git.99rst.org/PROJECT