Date: Tue, 4 May 2021 22:20:14 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 50e1e9457d5c - main - net-mgmt/centreon-clib: Update version 20.10.0=>21.04.0 Message-ID: <202105042220.144MKExP019974@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=50e1e9457d5c50d685340616e78588cda787f75b commit 50e1e9457d5c50d685340616e78588cda787f75b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2021-05-04 21:56:46 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2021-05-04 22:20:04 +0000 net-mgmt/centreon-clib: Update version 20.10.0=>21.04.0 Relnotes:https://github.com/centreon/centreon-clib/releases/tag/21.04.0 --- net-mgmt/centreon-clib/Makefile | 3 +-- net-mgmt/centreon-clib/distinfo | 6 +++--- net-mgmt/centreon-clib/files/patch-src_process.cc | 12 ++++++++++++ net-mgmt/centreon-clib/files/patch-src_process__manager.cc | 13 +++++++------ 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/net-mgmt/centreon-clib/Makefile b/net-mgmt/centreon-clib/Makefile index ca2d9319f3dd..eae2d1bdb0c5 100644 --- a/net-mgmt/centreon-clib/Makefile +++ b/net-mgmt/centreon-clib/Makefile @@ -1,7 +1,7 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> PORTNAME= centreon-clib -PORTVERSION= 20.10.0 +PORTVERSION= 21.04.0 CATEGORIES= net-mgmt MAINTAINER= bofh@FreeBSD.org @@ -19,6 +19,5 @@ CMAKE_ARGS= -DWITH_PREFIX=${PREFIX} \ -DWITH_PREFIX_INC=${PREFIX}/include/centreon \ -DWITH_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig CXXFLAGS+= -std=c++11 -USE_LDCONFIG= yes .include <bsd.port.mk> diff --git a/net-mgmt/centreon-clib/distinfo b/net-mgmt/centreon-clib/distinfo index d16318694e6e..5195052d9bb5 100644 --- a/net-mgmt/centreon-clib/distinfo +++ b/net-mgmt/centreon-clib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1603653423 -SHA256 (centreon-centreon-clib-20.10.0_GH0.tar.gz) = 7193cca2a8a072d5bcbbef7287253156c9db2c52d57988fb5667f1dab0870cc8 -SIZE (centreon-centreon-clib-20.10.0_GH0.tar.gz) = 80926 +TIMESTAMP = 1620162270 +SHA256 (centreon-centreon-clib-21.04.0_GH0.tar.gz) = 914c8ea95c567ed3f5106dce888b8ed1f08d7933a58932b84806f3bf97e7aceb +SIZE (centreon-centreon-clib-21.04.0_GH0.tar.gz) = 76651 diff --git a/net-mgmt/centreon-clib/files/patch-src_process.cc b/net-mgmt/centreon-clib/files/patch-src_process.cc new file mode 100644 index 000000000000..02789bd1d7f3 --- /dev/null +++ b/net-mgmt/centreon-clib/files/patch-src_process.cc @@ -0,0 +1,12 @@ +--- src/process.cc.orig 2021-05-04 21:18:25 UTC ++++ src/process.cc +@@ -16,6 +16,9 @@ + ** For more information : contact@centreon.com + */ + ++#if defined(__FreeBSD__) || defined (__DragonFly__) ++#include <array> ++#endif + #include <sstream> + + #include <fcntl.h> diff --git a/net-mgmt/centreon-clib/files/patch-src_process__manager.cc b/net-mgmt/centreon-clib/files/patch-src_process__manager.cc index 1b03dcaf40d2..47e36349d319 100644 --- a/net-mgmt/centreon-clib/files/patch-src_process__manager.cc +++ b/net-mgmt/centreon-clib/files/patch-src_process__manager.cc @@ -1,12 +1,13 @@ ---- src/process_manager.cc.orig 2020-04-24 11:44:54 UTC +--- src/process_manager.cc.orig 2021-04-01 07:25:04 UTC +++ src/process_manager.cc -@@ -24,6 +24,9 @@ - #include <sys/types.h> +@@ -19,6 +19,10 @@ + #include "com/centreon/process_manager.hh" #include <sys/wait.h> #include <unistd.h> +#if defined(__FreeBSD__) || defined (__DragonFly__) +#include <signal.h> ++#include <array> +#endif - #include "com/centreon/exceptions/basic.hh" - #include "com/centreon/logging/logger.hh" - #include "com/centreon/process.hh" + #include <algorithm> + #include <cassert> + #include <cerrno>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105042220.144MKExP019974>