From 7dbaafd2d7d2ce06be2871d6bd02b09b1e6511e7 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Sat, 3 Jan 2026 08:06:39 +0000 Subject: [PATCH] bump(main/tome2): 2025.12.13 - Progress on https://github.com/termux/termux-packages/issues/23492 - Drop `boost-1.89.patch`; no longer necessary - Disable tests to work around build error in testing framework; game still works when resulting package is run on-device --- packages/tome2/boost-1.89.patch | 11 ----------- packages/tome2/build.sh | 7 +++---- packages/tome2/disable-tests.patch | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 packages/tome2/boost-1.89.patch create mode 100644 packages/tome2/disable-tests.patch diff --git a/packages/tome2/boost-1.89.patch b/packages/tome2/boost-1.89.patch deleted file mode 100644 index 18e8839b14..0000000000 --- a/packages/tome2/boost-1.89.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -63,7 +63,7 @@ SET(LIBS ${LIBS} m) - # - # BOOST - # --FIND_PACKAGE(Boost 1.54.0 COMPONENTS system filesystem) -+FIND_PACKAGE(Boost 1.54.0 COMPONENTS filesystem) - SET_PACKAGE_PROPERTIES(Boost PROPERTIES TYPE REQUIRED) - - IF(Boost_FOUND) diff --git a/packages/tome2/build.sh b/packages/tome2/build.sh index c5407a5978..bb04a1c0ea 100644 --- a/packages/tome2/build.sh +++ b/packages/tome2/build.sh @@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tome2/tome2 TERMUX_PKG_DESCRIPTION="An open world roguelike adventure set in middle earth" TERMUX_PKG_LICENSE="non-free" TERMUX_PKG_MAINTAINER="@termux" -_COMMIT=1e26568b084104edd2a696e86118a3e71c78d61e -TERMUX_PKG_VERSION=2022.12.27 -TERMUX_PKG_REVISION=6 +_COMMIT=885799917d42ea9e6eb69fc320fa03922cd8cbb4 +TERMUX_PKG_VERSION=2025.12.13 TERMUX_PKG_SRCURL=git+https://github.com/tome2/tome2 -TERMUX_PKG_SHA256=e18ab63c74f8650b8348cbc82af923e44a42f2d4a2621f993ee7e789f461a61a +TERMUX_PKG_SHA256=a7115bfd526b6b1172cba3b59ba37f975a7f7749d0cb3a40e890988558af7a89 TERMUX_PKG_GIT_BRANCH=master TERMUX_PKG_DEPENDS="boost, libc++, libx11, ncurses" TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/tome2/disable-tests.patch b/packages/tome2/disable-tests.patch new file mode 100644 index 0000000000..e579a5c07a --- /dev/null +++ b/packages/tome2/disable-tests.patch @@ -0,0 +1,14 @@ +Avoids this build error: +vendor/CppQuickCheck/include/cppqc/Generator.h:131:58: +error: member reference base type +'detail::StatelessGenConcept *const' is not a structure or union + +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -182,6 +182,3 @@ IF(GTK2_FOUND) + INSTALL(TARGETS tome-gtk2 RUNTIME DESTINATION bin) + ENDIF() + +-# test harness executable +-ADD_EXECUTABLE(harness ${SRCS_TESTS}) +-TARGET_LINK_LIBRARIES(harness game squelch ${LIBS})