summaryrefslogtreecommitdiff
path: root/devel/clanlib/files/patch-ad
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-25 06:58:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-25 06:58:43 +0000
commit78d89936e265334c337c4a9858e8b4a26bf93b2b (patch)
tree6afe93024e33a60e5ce7d599152e7d61dca663f2 /devel/clanlib/files/patch-ad
parentAdd a startup script for slapd. (diff)
Add clanlib - a cross-platform game SDK (yes, it works with svgalib :-> ).
Notes
Notes: svn path=/head/; revision=33083
Diffstat (limited to 'devel/clanlib/files/patch-ad')
-rw-r--r--devel/clanlib/files/patch-ad42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/clanlib/files/patch-ad b/devel/clanlib/files/patch-ad
new file mode 100644
index 000000000000..069a12fa42e6
--- /dev/null
+++ b/devel/clanlib/files/patch-ad
@@ -0,0 +1,42 @@
+--- Sources/Core/Input/X11/joystick_linux.h.orig Wed May 10 15:48:28 2000
++++ Sources/Core/Input/X11/joystick_linux.h Wed May 10 15:58:32 2000
+@@ -22,17 +22,17 @@
+
+ // TODO: ifdef this out if it isn't a linux system.
+
+-#include <linux/version.h>
++/*#include <linux/version.h>*/
+
+ #ifndef KERNEL_VERSION
+ #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+ #endif
+
+-#ifndef LINUX_VERSION_CODE
++/*#ifndef LINUX_VERSION_CODE
+ #error "You need to use at least 2.0 Linux kernel."
+-#endif
++#endif*/
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
++#if 1
+
+
+ #include "API/Core/Input/inputdevice.h"
+@@ -40,7 +40,7 @@
+ #include "API/Core/System/keep_alive.h"
+ #include "Core/System/Unix/init_linux.h"
+
+-#include <linux/joystick.h>
++/*#include <linux/joystick.h>*/
+
+ class CL_LinuxJoystick_Axis;
+ class CL_LinuxJoystick_Button;
+@@ -82,7 +82,7 @@
+ int num_buttons;
+ int num_axes;
+
+- js_event jev;
++/* js_event jev;*/
+
+ CL_LinuxJoystick_Axis *axes;
+ CL_LinuxJoystick_Button *buttons;