summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-05-22 11:17:27 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-05-22 11:17:27 +0000
commit293c026854f602e37d0f72aa761c7fb68e196b82 (patch)
treed0c505823ee753f4bdc652b0ca2038ce07b35da0
parenta489dda13f5893da30d24777bf6d8eb2ba3769fa (diff)
Fixup joystick.h include with modern kernel headers. Patch from #1217.
-rw-r--r--package/xorg/xorg-6.8.2-joystick_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/xorg/xorg-6.8.2-joystick_h.patch b/package/xorg/xorg-6.8.2-joystick_h.patch
new file mode 100644
index 000000000..10da5189f
--- /dev/null
+++ b/package/xorg/xorg-6.8.2-joystick_h.patch
@@ -0,0 +1,10 @@
+--- xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.orig 2007-02-13 21:17:02.000000000 -0800
++++ xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c 2007-02-13 21:17:32.000000000 -0800
+@@ -1,5 +1,7 @@
+ /* $XFree86: xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c,v 1.1tsi Exp $ */
+
++#undef __STRICT_ANSI__
++
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <string.h>