From d8e96422d58450d33cab706ef540c8f962231e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:33 +0700 Subject: [PATCH] logstalgia: for boost-1.89 --- srcpkgs/logstalgia/patches/no-boost.patch | 25 +++++++++++++++++++++++ srcpkgs/logstalgia/template | 9 +++++--- 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/logstalgia/patches/no-boost.patch diff --git a/srcpkgs/logstalgia/patches/no-boost.patch b/srcpkgs/logstalgia/patches/no-boost.patch new file mode 100644 index 00000000000..1fdf6fa6610 --- /dev/null +++ b/srcpkgs/logstalgia/patches/no-boost.patch @@ -0,0 +1,25 @@ +--- a/src/core/resource.cpp ++++ b/src/core/resource.cpp +@@ -26,7 +26,7 @@ + */ + + #include "resource.h" +-#include ++#include + + ResourceManager::ResourceManager() { + } +@@ -52,11 +52,11 @@ ResourceManager::~ResourceManager() { + } + + bool ResourceManager::fileExists(const std::string& filename) { +- return boost::filesystem::is_regular_file(filename); ++ return std::filesystem::is_regular_file(filename); + } + + bool ResourceManager::dirExists(const std::string& dirname) { +- return boost::filesystem::is_directory(dirname); ++ return std::filesystem::is_directory(dirname); + } + + void ResourceManager::release(Resource* resource) { diff --git a/srcpkgs/logstalgia/template b/srcpkgs/logstalgia/template index 86f67cfd0e7..6e43c36f42c 100644 --- a/srcpkgs/logstalgia/template +++ b/srcpkgs/logstalgia/template @@ -1,15 +1,18 @@ # Template file for 'logstalgia' pkgname=logstalgia version=1.1.4 -revision=5 +revision=6 build_style=gnu-configure -configure_args="--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib" +configure_args="--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib + --with-boost-filesystem=c --with-boost-system=c" hostmakedepends="pkg-config" makedepends="freetype-devel glew-devel SDL2_image-devel boost-devel-minimal - libboost_filesystem glm pcre2-devel" + glm pcre2-devel" short_desc="Replay or stream website access logs as a retro arcade game" maintainer="Andrea Brancaleoni " license="GPL-3.0-or-later" homepage="https://github.com/acaudwell/Logstalgia/" distfiles="$homepage/releases/download/$pkgname-$version/$pkgname-$version.tar.gz" checksum=c049eff405e924035222edb26bcc6c7b5f00a08926abdb7b467e2449242790a9 + +CXXFLAGS=-std=c++17