SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
Fix netinet/tcp.h header check to include prerequisite headers.
Index: cmake/ConfigureChecks.cmake
--- cmake/ConfigureChecks.cmake.orig
+++ cmake/ConfigureChecks.cmake
@@ -1,4 +1,5 @@
include(CheckIncludeFile)
+include(CheckIncludeFiles)
check_include_file("arpa/inet.h" HAVE_ARPA_INET_H)
check_include_file("dlfcn.h" HAVE_DLFCN_H)
check_include_file("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H)
@@ -6,7 +7,7 @@ check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("memory.h" HAVE_MEMORY_H)
check_include_file("netdb.h" HAVE_NETDB_H)
check_include_file("netinet/in.h" HAVE_NETINET_IN_H)
-check_include_file("netinet/tcp.h" HAVE_NETINET_TCP_H)
+check_include_files("sys/types.h;netinet/tcp.h" HAVE_NETINET_TCP_H)
check_include_file("net/if.h" HAVE_NET_IF_H)
check_include_file("poll.h" HAVE_POLL_H)
check_include_file("stdint.h" HAVE_STDINT_H)