Date: Fri, 27 Dec 2019 18:00:57 +0000 (UTC) From: Craig Leres <leres@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521016 - head/devel/caf/files Message-ID: <201912271800.xBRI0vEN048001@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: leres Date: Fri Dec 27 18:00:57 2019 New Revision: 521016 URL: https://svnweb.freebsd.org/changeset/ports/521016 Log: devel/caf: Fix build on gcc architectures. As described in the PR submitted by Piotr Kubaj, netinet/ip.h needs sys/types.h. PR: 242908 Submitted by: Piotr Kubaj Approved by: ler (mentor, implicit) Added: head/devel/caf/files/ head/devel/caf/files/patch-libcaf__io_src_io_network_default__multiplexer.cpp (contents, props changed) head/devel/caf/files/patch-libcaf__io_src_io_network_ip__endpoint.cpp (contents, props changed) head/devel/caf/files/patch-libcaf__io_src_io_network_native__socket.cpp (contents, props changed) Added: head/devel/caf/files/patch-libcaf__io_src_io_network_default__multiplexer.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/caf/files/patch-libcaf__io_src_io_network_default__multiplexer.cpp Fri Dec 27 18:00:57 2019 (r521016) @@ -0,0 +1,15 @@ +--- libcaf_io/src/io/network/default_multiplexer.cpp.orig 2019-12-27 13:41:05 UTC ++++ libcaf_io/src/io/network/default_multiplexer.cpp +@@ -63,11 +63,11 @@ + # include <cerrno> + # include <fcntl.h> + # include <netdb.h> ++# include <sys/types.h> + # include <netinet/in.h> + # include <netinet/ip.h> + # include <netinet/tcp.h> + # include <sys/socket.h> +-# include <sys/types.h> + # include <unistd.h> + # ifdef CAF_POLL_MULTIPLEXER + # include <poll.h> Added: head/devel/caf/files/patch-libcaf__io_src_io_network_ip__endpoint.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/caf/files/patch-libcaf__io_src_io_network_ip__endpoint.cpp Fri Dec 27 18:00:57 2019 (r521016) @@ -0,0 +1,10 @@ +--- libcaf_io/src/io/network/ip_endpoint.cpp.orig 2019-12-27 13:50:38 UTC ++++ libcaf_io/src/io/network/ip_endpoint.cpp +@@ -30,6 +30,7 @@ + # include <ws2tcpip.h> + # include <ws2ipdef.h> + #else ++# include <sys/types.h> + # include <arpa/inet.h> + # include <cerrno> + # include <netinet/in.h> Added: head/devel/caf/files/patch-libcaf__io_src_io_network_native__socket.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/caf/files/patch-libcaf__io_src_io_network_native__socket.cpp Fri Dec 27 18:00:57 2019 (r521016) @@ -0,0 +1,10 @@ +--- libcaf_io/src/io/network/native_socket.cpp.orig 2019-12-27 13:58:36 UTC ++++ libcaf_io/src/io/network/native_socket.cpp +@@ -47,6 +47,7 @@ + # include <arpa/inet.h> + # include <cerrno> + # include <fcntl.h> ++# include <sys/types.h> + # include <netinet/in.h> + # include <netinet/ip.h> + # include <netinet/tcp.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912271800.xBRI0vEN048001>