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) + {