diff options
| author | Rosen Penev <rosenp@gmail.com> | 2022-01-30 22:57:30 -0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-01-31 10:25:32 -0800 |
| commit | 00af0fa946ec012270596e774773b9a5c578f659 (patch) | |
| tree | 8a9f76ad1fc2b7f1befd495e2a447a10b1137dc6 /libs/libdrm | |
| parent | 85cb71d8d81af3c549406d5f42080ed58be9b9b0 (diff) | |
libdrm: fix bad formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libdrm')
| -rw-r--r-- | libs/libdrm/patches/010-64bit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/libdrm/patches/010-64bit.patch b/libs/libdrm/patches/010-64bit.patch new file mode 100644 index 000000000..adc7e5551 --- /dev/null +++ b/libs/libdrm/patches/010-64bit.patch @@ -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; |
