opnsense-ports/games/eboard/files/patch-main.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
297 B
C++

--- main.cc.orig Mon Jan 22 18:57:40 2007
+++ main.cc Tue Jan 30 21:07:51 2007
@@ -139,7 +139,7 @@
char devname[64];
for(i=0;i<10;i++) {
- snprintf(devname,64,"/dev/js%d",i);
+ snprintf(devname,64,"/dev/input/js%d",i);
fd = open(devname,O_RDONLY);
if (fd >= 0) break;
}