Skip to content

Commit

Permalink
net-mgmt/centreon-clib: Update version 20.10.0=>21.04.0
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed May 4, 2021
1 parent 0a63d16 commit 50e1e94
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
3 changes: 1 addition & 2 deletions 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
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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
12 changes: 12 additions & 0 deletions 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>
13 changes: 7 additions & 6 deletions 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>

0 comments on commit 50e1e94

Please sign in to comment.