aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-04-10 12:46:09 +0800
committerimp <imp@FreeBSD.org>2002-04-10 12:46:09 +0800
commitb9bef4c2a550d4f155b0f4e74cd08095196cbd08 (patch)
treedd8e8168abcc204b80cbd6fb73667b86cefb4e35 /x11/XFree86-4-libraries
parent17f5857a423a140631416939510d28932abf0f56 (diff)
downloadfreebsd-ports-graphics-b9bef4c2a550d4f155b0f4e74cd08095196cbd08.tar.gz
freebsd-ports-graphics-b9bef4c2a550d4f155b0f4e74cd08095196cbd08.tar.zst
freebsd-ports-graphics-b9bef4c2a550d4f155b0f4e74cd08095196cbd08.zip
Fix ioctl #define abuse
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r--x11/XFree86-4-libraries/files/patch-ioctl12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-ioctl b/x11/XFree86-4-libraries/files/patch-ioctl
new file mode 100644
index 00000000000..09f605e083f
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-ioctl
@@ -0,0 +1,12 @@
+--- ./programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm.h~ Sun Dec 16 12:45:01 2001
++++ ./programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm.h Tue Apr 9 21:45:35 2002
+@@ -35,7 +35,9 @@
+ #ifndef _DRM_H_
+ #define _DRM_H_
+
++#undef ioctl
+ #include <sys/ioccom.h>
++#define ioctl(a,b,c) xf86ioctl(a,b,c)
+ #define DRM_IOCTL_NR(n) ((n) & 0xff)
+
+ #define XFREE86_VERSION(major,minor,patch,snap) \