[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909249: 909249: Patch without fuzz



Hi,

Attached is a refreshed patch for kfreebsd without fuzz. Please apply
this one instead of the previous one in this bug report.

Thanks!
Index: libdrm-2.4.94/include/drm/drm.h
===================================================================
--- libdrm-2.4.94.orig/include/drm/drm.h
+++ libdrm-2.4.94/include/drm/drm.h
@@ -42,6 +42,21 @@
 #include <asm/ioctl.h>
 typedef unsigned int drm_handle_t;
 
+#elif   defined(__FreeBSD_kernel__)
+
+#include <sys/ioccom.h>
+#include <sys/types.h>
+typedef __int8_t   __s8;
+typedef __uint8_t  __u8;
+typedef __int16_t  __s16;
+typedef __uint16_t __u16;
+typedef __int32_t  __s32;
+typedef __uint32_t __u32;
+typedef __int64_t  __s64;
+typedef __uint64_t __u64;
+typedef size_t   __kernel_size_t;
+typedef unsigned long drm_handle_t;
+
 #else /* One of the BSDs */
 
 #include <sys/ioccom.h>

Reply to: