summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-04-10 04:46:09 +0000
committerWarner Losh <imp@FreeBSD.org>2002-04-10 04:46:09 +0000
commit3b0c66b3c2911b1ed28a13c19dbe5fbd92edb07f (patch)
treee979208ca6ed0e50261d7a2b26690d6c1d7ca7cd /x11/XFree86-4-libraries
parentSince I cannot think of any reason one would use this port for FORTRAN or (diff)
Fix ioctl #define abuse
Notes
Notes: svn path=/head/; revision=57516
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 000000000000..09f605e083f7
--- /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) \