summaryrefslogtreecommitdiff
path: root/games/bzflag/files/patch-usbjoy.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--games/bzflag/files/patch-usbjoy.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/bzflag/files/patch-usbjoy.cxx b/games/bzflag/files/patch-usbjoy.cxx
new file mode 100644
index 000000000000..747f862c60c3
--- /dev/null
+++ b/games/bzflag/files/patch-usbjoy.cxx
@@ -0,0 +1,11 @@
+--- src/platform/usbjoy.cxx.orig Thu Nov 15 02:27:11 2001
++++ src/platform/usbjoy.cxx Sat Jan 26 05:48:50 2002
+@@ -46,7 +46,7 @@
+ int data_buf_offset;
+ };
+
+-usb_joystick *stick;
++usb_joystick *stick=NULL;
+
+ usb_joystick::usb_joystick(const char *name)
+ {