FreeBSD Bugzilla – Attachment 211686 Details for
Bug 244157
[PATCH] emulators/mednafen: Fix joystick detection if devel/evdev-proto is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for emulators/mednafen
mednafen_joystick.diff (text/plain), 1.18 KB, created by
Julien Nadeau
on 2020-02-16 08:11:57 UTC
(
hide
)
Description:
Patch for emulators/mednafen
Filename:
MIME Type:
Creator:
Julien Nadeau
Created:
2020-02-16 08:11:57 UTC
Size:
1.18 KB
patch
obsolete
>Index: emulators/mednafen/Makefile >=================================================================== >--- emulators/mednafen/Makefile (revision 526253) >+++ emulators/mednafen/Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= mednafen > PORTVERSION= 1.22.2 >-PORTEPOCH= 1 >+PORTEPOCH= 2 > CATEGORIES= emulators games > MASTER_SITES= https://mednafen.github.io/releases/files/ > >Index: emulators/mednafen/files/patch-src_drivers_Joystick_cpp >=================================================================== >--- emulators/mednafen/files/patch-src_drivers_Joystick_cpp (nonexistent) >+++ emulators/mednafen/files/patch-src_drivers_Joystick_cpp (working copy) >@@ -0,0 +1,20 @@ >+--- src/drivers/Joystick.cpp.orig 2020-02-16 03:14:42.211192000 -0400 >++++ src/drivers/Joystick.cpp 2020-02-16 03:15:02.909545000 -0400 >+@@ -32,7 +32,7 @@ >+ #include "Joystick_SDL.h" >+ #endif >+ >+-#ifdef HAVE_LINUX_JOYSTICK >++#if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__) >+ #include "Joystick_Linux.h" >+ #endif >+ >+@@ -175,7 +175,7 @@ >+ >+ try >+ { >+- #ifdef HAVE_LINUX_JOYSTICK >++ #if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__) >+ main_driver = JoystickDriver_Linux_New(); >+ #elif defined(WIN32) >+ {
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 244157
: 211686