SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/libsmb2/patches/patch-cmake_ConfigureChecks_cmake
Normal file
20
devel/libsmb2/patches/patch-cmake_ConfigureChecks_cmake
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue