From ddfde0b70640e64330098be8c40f38cb7fa248b4 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 30 Jul 2019 12:16:23 +0000 Subject: [PATCH] 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 --- net-mgmt/openbmp/files/patch-Server_src_Logger.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net-mgmt/openbmp/files/patch-Server_src_Logger.h 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 + #include + ++#include + + /* + * DEBUG is a macro for DebugPrint with FILE, LINE, FUNCTION added