ixion: fix build with boost>=1.90

This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2026-01-08 13:36:29 +01:00
parent 9ad35ba39b
commit 2565a36669
2 changed files with 6 additions and 21 deletions

View File

@@ -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

View File

@@ -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
}