svn commit: r446779 - head/emulators/bochs/files
Max Khon
fjoe at FreeBSD.org
Thu Jul 27 21:14:25 UTC 2017
Author: fjoe
Date: Thu Jul 27 21:14:24 2017
New Revision: 446779
URL: https://svnweb.freebsd.org/changeset/ports/446779
Log:
Fix es1370 build when gameport is disabled.
Added:
head/emulators/bochs/files/patch-plugin.h (contents, props changed)
Added: head/emulators/bochs/files/patch-plugin.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/bochs/files/patch-plugin.h Thu Jul 27 21:14:24 2017 (r446779)
@@ -0,0 +1,14 @@
+--- plugin.h.orig 2017-07-27 21:00:33.547902000 +0000
++++ plugin.h 2017-07-27 21:01:01.818005000 +0000
+@@ -264,7 +264,11 @@
+ ((eth_pktmover_c*)bx_devices.pluginNetModCtl->init_module(a,(void*)b,(void*)c,d))
+
+ ///////// Gameport macro
++#if BX_SUPPORT_GAMEPORT
+ #define DEV_gameport_set_enabled(a) bx_devices.pluginGameport->set_enabled(a)
++#else
++#define DEV_gameport_set_enabled(a)
++#endif
+
+
+ #if BX_HAVE_DLFCN_H
More information about the svn-ports-head
mailing list