FreeBSD Bugzilla – Attachment 75822 Details for
Bug 109438
[patch] emulators/vice Add support for joysticks.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.21 KB, created by
Dwayne MacKinnon
on 2007-02-22 16:10:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dwayne MacKinnon
Created:
2007-02-22 16:10:05 UTC
Size:
1.21 KB
patch
obsolete
>--- Makefile.orig Tue Feb 20 10:36:50 2007 >+++ Makefile Tue Feb 20 10:07:22 2007 >@@ -101,6 +101,8 @@ > post-patch: > ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \ > ${WRKSRC}/man/vice.1 >+ ${REINPLACE_CMD} -e "s|machine/joystick.h|sys/joystick.h|g" \ >+ ${WRKSRC}/configure > .if defined(NOPORTDOCS) > ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in > .endif > >--- src/arch/unix/joy.c.orig Tue Feb 20 10:11:02 2007 >+++ src/arch/unix/joy.c Tue Feb 20 10:11:13 2007 >@@ -117,7 +117,7 @@ > #endif > > #elif defined(BSD_JOYSTICK) >-#include <machine/joystick.h> >+#include <sys/joystick.h> > #define JS_DATA_TYPE joystick > #define JS_RETURN sizeof(struct joystick) > int use_old_api=1; > >--- src/arch/unix/joy_usb.c.orig Tue Feb 20 10:11:57 2007 >+++ src/arch/unix/joy_usb.c Tue Feb 20 10:12:37 2007 >@@ -50,6 +50,7 @@ > > extern log_t joystick_log; > >+#include <sys/ioccom.h> > #include <dev/usb/usb.h> > #include <dev/usb/usbhid.h> > #include <errno.h> > > >The VICE port can use /dev/joy* for joystick support for video games. To enable >the joystick port, add > >joy_load="YES" to /boot/loader.conf > >and the following lines to /etc/devfs.conf (for additional joysticks use >/dev/joy1, /dev/joy2 etc.) : > >own /dev/joy0 root:wheel >perm /dev/joy0 0666
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109438
: 75822