summaryrefslogtreecommitdiff
path: root/x11/XFree86
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2003-03-07 00:08:18 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2003-03-07 00:08:18 +0000
commit09fd8954fb08d1a62e1bf696af89a8db3497706b (patch)
tree3c669d5d127af9c9b95a5a37c34e16edc3f668c5 /x11/XFree86
parentI am pleased to announce first public -beta patchset of FreeBSD/Java port (diff)
Fix compilation on 5.x
PR: ports/48941 Submitted by: "Matthew D.Fuller" <fullermd@over-yonder.net>
Notes
Notes: svn path=/head/; revision=77040
Diffstat (limited to 'x11/XFree86')
-rw-r--r--x11/XFree86/files/patch-zz22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/XFree86/files/patch-zz b/x11/XFree86/files/patch-zz
new file mode 100644
index 000000000000..053a38fcafd1
--- /dev/null
+++ b/x11/XFree86/files/patch-zz
@@ -0,0 +1,22 @@
+--- programs/Xserver/hw/xfree86/os-support/bsd/bsd_jstk.c.orig Tue Mar 4 16:29:48 2003
++++ programs/Xserver/hw/xfree86/os-support/bsd/bsd_jstk.c Tue Mar 4 16:29:55 2003
+@@ -28,7 +28,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <string.h>
+-#include <machine/joystick.h>
++#include <sys/joystick.h>
+ #include <fcntl.h>
+
+ #define JS_RETURN sizeof(struct joystick)
+--- programs/Xserver/hw/xfree86/etc/joycal.c.orig Tue Mar 4 18:30:16 2003
++++ programs/Xserver/hw/xfree86/etc/joycal.c Tue Mar 4 18:30:25 2003
+@@ -6,7 +6,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #if defined (__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+-#include <machine/joystick.h>
++#include <sys/joystick.h>
+ #define JS_RETURN sizeof(struct joystick)
+ #define JS_DATA_TYPE joystick
+ #define button_down(j) (j.b1 | j.b2)