Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2017 21:14:24 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446779 - head/emulators/bochs/files
Message-ID:  <201707272114.v6RLEOCI084627@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707272114.v6RLEOCI084627>