aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/openbmp
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-30 12:16:23 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-30 12:16:23 +0000
commitddfde0b70640e64330098be8c40f38cb7fa248b4 (patch)
tree9e02b1140379efe03d33d12cc19fdd13af2b0d2a /net-mgmt/openbmp
parent6248be55211098c91c05e33bc6f49be3f09cffa2 (diff)
downloadports-ddfde0b70640e64330098be8c40f38cb7fa248b4.tar.gz
ports-ddfde0b70640e64330098be8c40f38cb7fa248b4.zip
net-mgmt/openbmp: fix build with GCC architectures
Building with GCC requires include sys/types.h in Server/src/Logger.h. /wrkdirs/usr/ports/net-mgmt/openbmp/work/openbmp-0.14.0/Server/src/Logger.h:99:27: error: 'u_char' has not been declared void setWidthFunction(u_char width); PR: 239329 Approved by: pizzamig (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21026
Notes
Notes: svn path=/head/; revision=507636
Diffstat (limited to 'net-mgmt/openbmp')
-rw-r--r--net-mgmt/openbmp/files/patch-Server_src_Logger.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/openbmp/files/patch-Server_src_Logger.h b/net-mgmt/openbmp/files/patch-Server_src_Logger.h
new file mode 100644
index 000000000000..e9d5a66bc3ca
--- /dev/null
+++ b/net-mgmt/openbmp/files/patch-Server_src_Logger.h
@@ -0,0 +1,10 @@
+--- Server/src/Logger.h.orig 2019-07-20 08:42:40 UTC
++++ Server/src/Logger.h
+@@ -13,6 +13,7 @@
+ #include <iostream>
+ #include <cstdint>
+
++#include <sys/types.h>
+
+ /*
+ * DEBUG is a macro for DebugPrint with FILE, LINE, FUNCTION added