From 2565a366690a08f7dca8e4e08afb8a2a92e6e19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Thu, 8 Jan 2026 13:36:29 +0100 Subject: [PATCH] ixion: fix build with boost>=1.90 --- .../002-do-not-search-for-boost-system.patch | 16 ---------------- mingw-w64-ixion/PKGBUILD | 11 ++++++----- 2 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 mingw-w64-ixion/002-do-not-search-for-boost-system.patch diff --git a/mingw-w64-ixion/002-do-not-search-for-boost-system.patch b/mingw-w64-ixion/002-do-not-search-for-boost-system.patch deleted file mode 100644 index 14ef25aabe..0000000000 --- a/mingw-w64-ixion/002-do-not-search-for-boost-system.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/m4/boost.m4 -+++ b/m4/boost.m4 -@@ -888,12 +888,7 @@ - # Do not check for boost/filesystem.hpp because this file was introduced in - # 1.34. - BOOST_DEFUN([Filesystem], --[# Do we have to check for Boost.System? This link-time dependency was --# added as of 1.35.0. If we have a version <1.35, we must not attempt to --# find Boost.System as it didn't exist by then. --if test $boost_major_version -ge 135; then -- BOOST_SYSTEM([$1], [$2]) --fi # end of the Boost.System check. -+[ - boost_filesystem_save_LIBS=$LIBS - boost_filesystem_save_LDFLAGS=$LDFLAGS - m4_pattern_allow([^BOOST_SYSTEM_(LIBS|LDFLAGS)$])dnl diff --git a/mingw-w64-ixion/PKGBUILD b/mingw-w64-ixion/PKGBUILD index e47d471319..e026bb330d 100644 --- a/mingw-w64-ixion/PKGBUILD +++ b/mingw-w64-ixion/PKGBUILD @@ -4,7 +4,7 @@ _realname=ixion pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=0.20.0 -pkgrel=2 +pkgrel=3 pkgdesc="A general purpose formula parser & interpreter. (mingw-w64)" arch=('any') mingw_arch=('ucrt64' 'clang64' 'clangarm64') @@ -26,15 +26,15 @@ optdepends=("${MINGW_PACKAGE_PREFIX}-python: Python bindings" "${MINGW_PACKAGE_PREFIX}-vulkan-loader: Vulkan compute engine") source=("https://gitlab.com/ixion/ixion/-/archive/${pkgver}/${_realname}-${pkgver}.tar.bz2" "001-fix-build-on-mingw.patch" - "002-do-not-search-for-boost-system.patch") + "https://gitlab.com/ixion/ixion/-/commit/bfe5ab6a.patch") sha256sums=('39e54cd486fed458c2a6e83a5e658d4c2e818862355b33645bb1342449428463' 'f5554b215c7be10f48a2567824acf54a7b97831b4e4723d76edd4fede31931fd' - '0bef56f5fe568a3131d187c95d7efec62e8617f23e02c3c20b6642da1e195837') + '0fdf9c1e34dfbdf55b4f2f347b9fbb1b8fe6fd35b6a0575d2aa6c58eae160920') prepare() { cd ${_realname}-${pkgver} patch -p1 -i "${srcdir}"/001-fix-build-on-mingw.patch - patch -p1 -i "${srcdir}"/002-do-not-search-for-boost-system.patch + patch -p1 -i "${srcdir}"/bfe5ab6a.patch autoreconf -fiv } @@ -44,7 +44,8 @@ build() { ../${_realname}-${pkgver}/configure \ --prefix=${MINGW_PREFIX} \ - --enable-vulkan + --enable-vulkan \ + --with-boost=${MINGW_PREFIX} make }