View | Details | Raw Unified | Return to bug 118769
Collapse All | Expand All

(-)stepmania-devel/Makefile (+4 lines)
Lines 22-27 Link Here
22
		jpeg.9:${PORTSDIR}/graphics/jpeg \
22
		jpeg.9:${PORTSDIR}/graphics/jpeg \
23
		m.3:${PORTSDIR}/misc/compat5x
23
		m.3:${PORTSDIR}/misc/compat5x
24
24
25
BUILD_DEPENDS=	${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js
26
25
CONFLICTS=	stepmania-[0-9]*
27
CONFLICTS=	stepmania-[0-9]*
26
28
27
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
Lines 55-60 Link Here
55
57
56
post-patch:
58
post-patch:
57
	@${REINPLACE_CMD} -e 's|-lrt|-lrt -liconv|' ${WRKSRC}/src/Makefile.in
59
	@${REINPLACE_CMD} -e 's|-lrt|-lrt -liconv|' ${WRKSRC}/src/Makefile.in
60
	@${REINPLACE_CMD} -e 's|@LINUX_TRUE@am__append_19|@UNIX_TRUE@am__append_19|' ${WRKSRC}/src/Makefile.in
61
	@${REINPLACE_CMD} -e 's|@LINUX_TRUE@am__objects_16|@UNIX_TRUE@am__objects_16|' ${WRKSRC}/src/Makefile.in
58
62
59
do-install:
63
do-install:
60
	${MKDIR} ${PREFIX}/share/games
64
	${MKDIR} ${PREFIX}/share/games
(-)stepmania-devel/files/patch-src_arch_InputHandler_InputHandler.cpp (+18 lines)
Line 0 Link Here
1
--- src/arch/InputHandler/InputHandler.cpp.orig	2007-03-26 06:06:37.000000000 +0300
2
+++ src/arch/InputHandler/InputHandler.cpp	2008-01-30 23:20:18.000000000 +0200
3
@@ -6,6 +6,7 @@
4
 #include "LocalizedString.h"
5
 #include "arch/arch_default.h"
6
 #include "InputHandler_MonkeyKeyboard.h"
7
+#include "InputHandler_Linux_Joystick.h"
8
 #include "Foreach.h"
9
 
10
 void InputHandler::UpdateTimer()
11
@@ -190,6 +191,7 @@
12
 
13
 	// Always add
14
 	Add.push_back( new InputHandler_MonkeyKeyboard );
15
+	Add.push_back( new InputHandler_Linux_Joystick );
16
 }
17
 
18
 
(-)stepmania-devel/files/patch-src_arch_InputHandler_InputHandler__Linux_Joystick.cpp (+11 lines)
Line 0 Link Here
1
--- src/arch/InputHandler/InputHandler_Linux_Joystick.cpp.orig	2008-01-30 13:54:28.000000000 +0200
2
+++ src/arch/InputHandler/InputHandler_Linux_Joystick.cpp	2008-01-30 13:55:14.000000000 +0200
3
@@ -9,6 +9,8 @@
4
 
5
 #include <errno.h>
6
 #include <sys/types.h>
7
+#include <sys/ioctl.h>
8
+#include <sys/stat.h>
9
 #include <linux/joystick.h>
10
 
11
 #include <set>

Return to bug 118769