net-mgmt/centreon-clib: Update version 20.10.0=>21.04.0
Relnotes:https://github.com/centreon/centreon-clib/releases/tag/21.04.0
This commit is contained in:
parent
0a63d16172
commit
50e1e9457d
4 changed files with 23 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
12
net-mgmt/centreon-clib/files/patch-src_process.cc
Normal file
12
net-mgmt/centreon-clib/files/patch-src_process.cc
Normal file
|
@ -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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue