From 78d89936e265334c337c4a9858e8b4a26bf93b2b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 25 Sep 2000 06:58:43 +0000 Subject: Add clanlib - a cross-platform game SDK (yes, it works with svgalib :-> ). --- devel/clanlib/files/patch-ad | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 devel/clanlib/files/patch-ad (limited to 'devel/clanlib/files/patch-ad') 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 ++/*#include */ + + #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 ++/*#include */ + + 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; -- cgit v1.2.3