svn commit: r507636 - head/net-mgmt/openbmp/files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jul 30 12:16:24 UTC 2019
Author: pkubaj
Date: Tue Jul 30 12:16:23 2019
New Revision: 507636
URL: https://svnweb.freebsd.org/changeset/ports/507636
Log:
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
Added:
head/net-mgmt/openbmp/files/patch-Server_src_Logger.h (contents, props changed)
Added: head/net-mgmt/openbmp/files/patch-Server_src_Logger.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/openbmp/files/patch-Server_src_Logger.h Tue Jul 30 12:16:23 2019 (r507636)
@@ -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
More information about the svn-ports-head
mailing list