Date: Wed, 23 Apr 2014 13:48:58 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r351943 - branches/2014Q2/graphics/tulip/files Message-ID: <201404231348.s3NDmwAT054952@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404231348.s3NDmwAT054952>