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

(-)emulators/mednafen/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	mednafen
3
PORTNAME=	mednafen
4
PORTVERSION=	1.22.2
4
PORTVERSION=	1.22.2
5
PORTEPOCH=	1
5
PORTEPOCH=	2
6
CATEGORIES=	emulators games
6
CATEGORIES=	emulators games
7
MASTER_SITES=	https://mednafen.github.io/releases/files/
7
MASTER_SITES=	https://mednafen.github.io/releases/files/
8
8
(-)emulators/mednafen/files/patch-src_drivers_Joystick_cpp (+20 lines)
Line 0 Link Here
1
--- src/drivers/Joystick.cpp.orig	2020-02-16 03:14:42.211192000 -0400
2
+++ src/drivers/Joystick.cpp	2020-02-16 03:15:02.909545000 -0400
3
@@ -32,7 +32,7 @@
4
  #include "Joystick_SDL.h"
5
 #endif
6
 
7
-#ifdef HAVE_LINUX_JOYSTICK
8
+#if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__)
9
  #include "Joystick_Linux.h"
10
 #endif
11
 
12
@@ -175,7 +175,7 @@
13
 
14
  try
15
  {
16
-  #ifdef HAVE_LINUX_JOYSTICK
17
+  #if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__)
18
   main_driver = JoystickDriver_Linux_New();
19
   #elif defined(WIN32)
20
   {

Return to bug 244157