From ebafa96764b7f41b9aa7dcf448e245d8d629bbad Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Nov 05 2019 09:18:29 +0000 Subject: vars/build.vars:native_packages_etc: adds bochs v2.6.9 (via Redfoxmoon.) patches/bochs-2.6.9.local.patch: via Redfoxmoon. --- diff --git a/patches/bochs-2.6.9.local.patch b/patches/bochs-2.6.9.local.patch new file mode 100644 index 0000000..f3a9210 --- /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 ++#include + #include + }; + diff --git a/vars/build.vars b/vars/build.vars index a2efa06..92ba57f 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};