summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--patches/bochs-2.6.9.local.patch12
-rw-r--r--vars/build.vars12
2 files changed, 22 insertions, 2 deletions
diff --git a/patches/bochs-2.6.9.local.patch b/patches/bochs-2.6.9.local.patch
new file mode 100644
index 00000000..f3a9210f
--- /dev/null
+++ b/patches/bochs-2.6.9.local.patch
@@ -0,0 +1,12 @@
+diff -ru bochs-2.6.9.orig/gui/term.cc bochs-2.6.9/gui/term.cc
+--- bochs-2.6.9.orig/gui/term.cc 2017-01-15 12:44:43.207284000 +0100
++++ bochs-2.6.9/gui/term.cc 2019-11-04 21:23:25.102021241 +0100
+@@ -29,7 +29,7 @@
+ #if BX_WITH_TERM
+
+ extern "C" {
+-#include <curses.h>
++#include <ncurses.h>
+ #include <signal.h>
+ };
+
diff --git a/vars/build.vars b/vars/build.vars
index a2efa069..92ba57f5 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1519,9 +1519,17 @@ bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patchutils
#
# Packages list native_packages_etc
NATIVE_PACKAGES_ETC_PACKAGES="
-ca_certificates cron dante debianutils emacs fetchmail ffmpeg gdb gnuchess ghostscript hastyhex hexcurse htop icecast isync infounzip
-infozip jamvm classpath john less libredwg mlogin mc mintty nano ncdu p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st
+bochs ca_certificates cron dante debianutils emacs fetchmail ffmpeg gdb gnuchess ghostscript hastyhex hexcurse htop icecast isync infounzip
+infozip john less libredwg mlogin mc mintty nano ncdu p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st
tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd";
+: ${PKG_BOCHS_SHA256SUM:=ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c};
+: ${PKG_BOCHS_VERSION:=2.6.9};
+: ${PKG_BOCHS_URL:=https://sourceforge.mirrorservice.org/b/bo/bochs/bochs/${PKG_BOCHS_VERSION}/bochs-${PKG_BOCHS_VERSION}.tar.gz};
+: ${PKG_BOCHS_CONFIGURE_ARGS_EXTRA:="--without-x11 --with-term"};
+: ${PKG_BOCHS_CXXFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE -I${PREFIX_NATIVE}/include"};
+: ${PKG_BOCHS_INSTALL_FILES:="../obj/.libs/bochs=bin/ ../obj/.libs/bximage=bin/"};
+: ${PKG_BOCHS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib"};
+: ${PKG_BOCHS_MAKEFLAGS_BUILD:="LIBS=-Wl,-ltinfo"};
: ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"};
: ${PKG_CA_CERTIFICATES_IN_TREE:=1};
: ${PKG_CA_CERTIFICATES_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include};