0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/bochs/iodev-network-slirp-misc.cc.patch
Leonid Pliushch 4abbaedfbc
Revert "bochs: build with -DANDROID (#468)"
Reverting bochs to previous attempt to fix "bus error", this one seem to
not work.
2022-04-18 14:48:00 +05:30

13 lines
431 B
Diff

diff -uNr bochs-2.6.9/iodev/network/slirp/misc.cc bochs-2.6.9.mod/iodev/network/slirp/misc.cc
--- bochs-2.6.9/iodev/network/slirp/misc.cc 2016-12-14 04:22:28.000000000 +0800
+++ bochs-2.6.9.mod/iodev/network/slirp/misc.cc 2019-08-26 20:05:37.060533000 +0800
@@ -16,7 +16,7 @@
#include "libslirp.h"
#if BX_NETWORKING && BX_NETMOD_SLIRP
-
+#define ANDROID
#ifdef DEBUG
int slirp_debug = DBG_CALL|DBG_MISC|DBG_ERROR;
#endif