commit: d3f82207965846c15030ac42d3b32fceeb330d15 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jan 15 21:09:16 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jan 15 21:09:58 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f82207
app-admin/logstalgia: Fix build w/ boost-1.89 Closes: https://bugs.gentoo.org/964296 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/logstalgia-1.1.4-boost-1.89.patch | 68 ++++++++++++++++++++++ app-admin/logstalgia/logstalgia-1.1.4.ebuild | 18 ++++-- 2 files changed, 80 insertions(+), 6 deletions(-) diff --git a/app-admin/logstalgia/files/logstalgia-1.1.4-boost-1.89.patch b/app-admin/logstalgia/files/logstalgia-1.1.4-boost-1.89.patch new file mode 100644 index 000000000000..5b1faeb6e48f --- /dev/null +++ b/app-admin/logstalgia/files/logstalgia-1.1.4-boost-1.89.patch @@ -0,0 +1,68 @@ +From 823a1a4dbdba8f682e2d31851c11e369e50aa0f7 Mon Sep 17 00:00:00 2001 +From: Andrew Caudwell <[email protected]> +Date: Thu, 14 Aug 2025 12:10:06 +1200 +Subject: [PATCH] Fixed build with Boost 1.89.0 by no longer linking boost + system. + +Increased minimum required version of Boost to 1.69. + +Updated ax_boost_base.m4 macro +--- + configure.ac | 4 +- + m4/ax_boost_base.m4 | 7 +-- + 2 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 382fa7e..bcc107f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -45,8 +45,7 @@ AC_CHECK_FUNCS([IMG_LoadPNG_RW], , AC_MSG_ERROR([SDL2_image with PNG support req + AC_CHECK_FUNCS([IMG_LoadJPG_RW], , AC_MSG_ERROR([SDL2_image with JPEG support required. Please see INSTALL])) + + #BOOST +-AX_BOOST_BASE([1.46], , AC_MSG_ERROR(Boost Filesystem >= 1.46 is required. Please see INSTALL)) +-AX_BOOST_SYSTEM ++AX_BOOST_BASE([1.69], , AC_MSG_ERROR(Boost Filesystem >= 1.69 is required. Please see INSTALL)) + AX_BOOST_FILESYSTEM + + CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" +diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4 +index 6c944b1..9d5a08c 100644 +--- a/m4/ax_boost_base.m4 ++++ b/m4/ax_boost_base.m4 +@@ -10,7 +10,7 @@ + # + # Test for the Boost C++ libraries of a particular version (or newer) + # +-# If no path to the installed boost library is given the macro searchs ++# If no path to the installed boost library is given the macro searches + # under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates + # the $BOOST_ROOT environment variable. Further documentation is available + # at <http://randspringer.de/boost/index.html>. +@@ -33,7 +33,7 @@ + # and this notice are preserved. This file is offered as-is, without any + # warranty. + +-#serial 51 ++#serial 55 + + # example boost program (need to pass version) + m4_define([_AX_BOOST_BASE_PROGRAM], +@@ -114,7 +114,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[ + AS_CASE([${host_cpu}], + [x86_64],[libsubdirs="lib64 libx32 lib lib64"], + [mips*64*],[libsubdirs="lib64 lib32 lib lib64"], +- [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k],[libsubdirs="lib64 lib lib64"], ++ [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k|loongarch64],[libsubdirs="lib64 lib lib64"], + [libsubdirs="lib"] + ) + +@@ -289,6 +289,8 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[ + else + AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).]) + fi ++ BOOST_LDFLAGS="" ++ BOOST_CPPFLAGS="" + # execute ACTION-IF-NOT-FOUND (if present): + ifelse([$3], , :, [$3]) + else diff --git a/app-admin/logstalgia/logstalgia-1.1.4.ebuild b/app-admin/logstalgia/logstalgia-1.1.4.ebuild index 0226cfea295c..04d62325f506 100644 --- a/app-admin/logstalgia/logstalgia-1.1.4.ebuild +++ b/app-admin/logstalgia/logstalgia-1.1.4.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools + DESCRIPTION="Replays or streams an access_log as a retro arcade game-like simulation" HOMEPAGE="https://logstalgia.io/" SRC_URI="https://github.com/acaudwell/Logstalgia/releases/download/${P}/${P}.tar.gz" @@ -22,12 +24,16 @@ RDEPEND=" media-libs/sdl2-image[jpeg,png] virtual/glu " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND} media-libs/glm " -BDEPEND=" - virtual/pkgconfig -" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-boost-1.89.patch" ) # bug 964296 + +src_prepare() { + default + eautoreconf +} DOCS=( ChangeLog INSTALL README THANKS )
