<div dir="ltr">Please reject/ignore. Will send a patch to instead bump to 3.0.2.<div><br></div><div>Thanks,</div><div><br></div><div>Sean McG.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 11:50 PM, Sean McGovern <span dir="ltr"><<a href="mailto:gseanmcg@gmail.com" target="_blank">gseanmcg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
This fixes building cmake-2.8.x on Solaris. It is already present in cmake 3.0.x.<br>
---<br>
extras/tools/cmake-2.8-backtrace-api.patch | 57 ++++++++++++++++++++++++++++++<br>
extras/tools/tools.mak | 1 +<br>
2 files changed, 58 insertions(+)<br>
create mode 100644 extras/tools/cmake-2.8-backtrace-api.patch<br>
<br>
diff --git a/extras/tools/cmake-2.8-backtrace-api.patch b/extras/tools/cmake-2.8-backtrace-api.patch<br>
new file mode 100644<br>
index 0000000..eb8b086<br>
--- /dev/null<br>
+++ b/extras/tools/cmake-2.8-backtrace-api.patch<br>
@@ -0,0 +1,57 @@<br>
+--- cmake/Source/kwsys/SystemInformation.cxx Thu Jan 16 12:15:08 2014<br>
++++ cmake/Source/kwsys/SystemInformation.cxx.new Wed Oct 29 23:22:27 2014<br>
+@@ -117,16 +117,8 @@<br>
+ # include <ifaddrs.h><br>
+ # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN<br>
+ # endif<br>
+-# if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0 >= 1050<br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)<br>
+-# include <execinfo.h><br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)<br>
+-# include <cxxabi.h><br>
+-# endif<br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)<br>
+-# include <dlfcn.h><br>
+-# endif<br>
+-# endif<br>
++# if !(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0 >= 1050)<br>
++# undef KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE<br>
+ # endif<br>
+ #endif<br>
+<br>
+@@ -141,15 +133,6 @@<br>
+ # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN<br>
+ # endif<br>
+ # endif<br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)<br>
+-# include <execinfo.h><br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)<br>
+-# include <cxxabi.h><br>
+-# endif<br>
+-# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)<br>
+-# include <dlfcn.h><br>
+-# endif<br>
+-# endif<br>
+ # if defined(KWSYS_CXX_HAS_RLIMIT64)<br>
+ typedef struct rlimit64 ResourceLimitType;<br>
+ # define GetResourceLimit getrlimit64<br>
+@@ -169,6 +152,19 @@<br>
+ # include <OS.h><br>
+ #endif<br>
+<br>
++#if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)<br>
++# include <execinfo.h><br>
++# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)<br>
++# include <cxxabi.h><br>
++# endif<br>
++# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)<br>
++# include <dlfcn.h><br>
++# endif<br>
++#else<br>
++# undef KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE<br>
++# undef KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP<br>
++#endif<br>
++<br>
+ #include <memory.h><br>
+ #include <stdlib.h><br>
+ #include <stdio.h><br>
diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak<br>
index 33486e6..ef8a5a2 100644<br>
--- a/extras/tools/tools.mak<br>
+++ b/extras/tools/tools.mak<br>
@@ -65,6 +65,7 @@ cmake-$(CMAKE_VERSION).tar.gz:<br>
<br>
cmake: cmake-$(CMAKE_VERSION).tar.gz<br>
$(UNPACK)<br>
+ $(APPLY) cmake-2.8-backtrace-api.patch<br>
$(MOVE)<br>
<br>
.cmake: cmake<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.3 (Apple Git-50)<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br></div>