svn commit: r351943 - branches/2014Q2/graphics/tulip/files
Pietro Cerutti
gahr at FreeBSD.org
Wed Apr 23 13:48:58 UTC 2014
Author: gahr
Date: Wed Apr 23 13:48:57 2014
New Revision: 351943
URL: http://svnweb.freebsd.org/changeset/ports/351943
QAT: https://qat.redports.org/buildarchive/r351943/
Log:
MFH: r351915
- Fix build on < 9.0
Approved by: portmgr
Added:
branches/2014Q2/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp
- copied unchanged from r351915, head/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp
Modified:
Directory Properties:
branches/2014Q2/ (props changed)
Copied: branches/2014Q2/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp (from r351915, head/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2014Q2/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp Wed Apr 23 13:48:57 2014 (r351943, copy of r351915, head/graphics/tulip/files/patch-software-crash_handling_StackWalker.cpp)
@@ -0,0 +1,16 @@
+--- software/crash_handling/StackWalker.cpp.orig 2014-04-22 16:44:05.000000000 +0200
++++ software/crash_handling/StackWalker.cpp 2014-04-22 16:46:01.000000000 +0200
+@@ -255,8 +255,13 @@
+ char * real_name = abi::__cxa_demangle(mangled_name, 0, 0, &status);
+
+ char *end;
++#if defined(__FreeBSD__) && __FreeBSD_version < 9000000
++ int64_t runtimeAddr = static_cast<int64_t>(strtol(runtime_addr, &end, 16));
++ int64_t runtimeOffset = static_cast<int64_t>(strtol(runtime_offset, &end, 0));
++#else
+ int64_t runtimeAddr = static_cast<int64_t>(strtoll(runtime_addr, &end, 16));
+ int64_t runtimeOffset = static_cast<int64_t>(strtoll(runtime_offset, &end, 0));
++#endif
+
+ if (runtimeAddr == 1 && i == (size - 1))
+ break;
More information about the svn-ports-all
mailing list