tools/cmake: update to 3.8.1
[openwrt/openwrt.git] / tools / cmake / patches / 110-freebsd-compat.patch
index d4133b9049059f1b1cfa0c63be1308b4c235c981..4f110784612934020c83167c0859de73eb58806e 100644 (file)
@@ -19,14 +19,12 @@ Change-Id: I3b91ed7ac0e6878035aee202b3336c536cc6d2ff
  Source/kwsys/SystemInformation.cxx |    9 +++++++++
  1 file changed, 9 insertions(+)
 
-diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
-index 7c31f3a..2672730 100644
 --- a/Source/kwsys/SystemInformation.cxx
 +++ b/Source/kwsys/SystemInformation.cxx
-@@ -88,6 +88,15 @@ typedef int siginfo_t;
- #  include <ifaddrs.h>
- #  define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
- # endif
+@@ -82,6 +82,15 @@ typedef int siginfo_t;
+ #include <net/if.h>
+ #define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
+ #endif
 +# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)
 +#  include <execinfo.h>
 +#  if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)
@@ -38,7 +36,4 @@ index 7c31f3a..2672730 100644
 +# endif
  #endif
  
- #if defined(__OpenBSD__) || defined(__NetBSD__)
--- 
-1.7.10.4
-
+ #if defined(KWSYS_SYS_HAS_MACHINE_CPU_H)