mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
emulators/bochs: Fix build
This commit is contained in:
parent
a32b5b9b01
commit
a613e66a54
2 changed files with 13 additions and 2 deletions
11
emulators/bochs/files/patch-gui_keymap.cc
Normal file
11
emulators/bochs/files/patch-gui_keymap.cc
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gui/keymap.cc.orig 2025-02-25 01:36:13 UTC
|
||||
+++ gui/keymap.cc
|
||||
@@ -96,7 +96,7 @@ bx_keymap_c::~bx_keymap_c(void)
|
||||
keymapCount = 0;
|
||||
}
|
||||
|
||||
-#if defined(WIN32) || defined(__ANDROID__)
|
||||
+#if defined(WIN32) || defined(__ANDROID__) || defined(__FreeBSD__)
|
||||
char* basename(char *path)
|
||||
{
|
||||
char *ptr;
|
|
@ -1,5 +1,5 @@
|
|||
--- ./iodev/network/eth_slirp.cc.orig 2025-02-16 04:15:29.000000000 -0500
|
||||
+++ ./iodev/network/eth_slirp.cc 2025-02-18 21:26:22.200515000 -0500
|
||||
--- iodev/network/eth_slirp.cc.orig 2025-02-16 09:15:29 UTC
|
||||
+++ iodev/network/eth_slirp.cc
|
||||
@@ -20,6 +20,11 @@
|
||||
// eth_slirp.cc - Bochs port of Qemu's slirp implementation (updated from libslirp 4.8.0)
|
||||
// Portion of this software comes with the following license: BSD-3-Clause
|
||||
|
|
Loading…
Add table
Reference in a new issue