1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/rocksndiamonds/files/patch-af
Chris D. Faulhaber 309fba0a61 Update port to 1.4.0
PR:		15939
Submitted by:	Maintainer
2000-01-06 19:59:01 +00:00

21 lines
472 B
Plaintext

--- src/screens.c.orig Sat Oct 23 19:26:41 1999
+++ src/screens.c Wed Jan 5 22:15:00 2000
@@ -1979,7 +1979,7 @@
void CalibrateJoystick(int player_nr)
{
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
struct joystick joy_ctrl;
#else
struct joystick_control
@@ -2044,7 +2044,7 @@
BackToFront();
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
joy_ctrl.b1 = joy_ctrl.b2 = 0;
#else
joy_ctrl.buttons = 0;