From 1704d3ebaba027b6864dd4a7eb6399c667237ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 8 Aug 2025 22:01:00 +0700 Subject: [PATCH] icinga2: for boost-1.88 --- srcpkgs/icinga2/patches/inttypes.patch | 10 ++++++++++ srcpkgs/icinga2/template | 7 +++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/icinga2/patches/inttypes.patch diff --git a/srcpkgs/icinga2/patches/inttypes.patch b/srcpkgs/icinga2/patches/inttypes.patch new file mode 100644 index 00000000000..d0a80f9ac4c --- /dev/null +++ b/srcpkgs/icinga2/patches/inttypes.patch @@ -0,0 +1,10 @@ +--- a/lib/base/object.hpp ++++ b/lib/base/object.hpp +@@ -23,6 +23,7 @@ + #include "base/i2-base.hpp" + #include "base/debug.hpp" + #include ++#include + #include + + using boost::intrusive_ptr; diff --git a/srcpkgs/icinga2/template b/srcpkgs/icinga2/template index dee8caf0818..a85c531d6de 100644 --- a/srcpkgs/icinga2/template +++ b/srcpkgs/icinga2/template @@ -1,14 +1,17 @@ # Template file for 'icinga2' pkgname=icinga2 version=2.9.3 -revision=10 +revision=11 build_style=cmake build_helper="qemu" configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run -DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/" hostmakedepends="flex git" -makedepends="openssl-devel boost-devel libmariadbclient-devel libedit-devel +makedepends="openssl-devel boost-devel-minimal libboost_program_options + libboost_system libboost_regex libboost_unit_test_framework + libboost_thread libmariadbclient-devel libedit-devel yajl-devel postgresql-libs-devel" depends="monitoring-plugins" conf_files="/etc/${pkgname}/*.conf