<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[153839] trunk/dports/devel/libunwind</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/153839">153839</a></dd>
<dt>Author</dt> <dd>jeremyhu@macports.org</dd>
<dt>Date</dt> <dd>2016-10-12 23:02:13 -0700 (Wed, 12 Oct 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>libunwind: Fix a build failure on Mountain Lion and earlier</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevellibunwindPortfile">trunk/dports/devel/libunwind/Portfile</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0001libunwindAddmissingincludeoflibunwind_exthtopatch">trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0002libunwindUse__builtin_trapratherthan__builtin_upatch">trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0003libunwindppcbuildfixpatch">trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0004libunwindOnlyincludeAvailabilityhonLeopardandpatch">trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0005libunwindMacPortsavailabilitypatch">trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0006MacPortsMakefilepatch">trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0007libunwindFixfallbackimplementationof_dyld_find_patch">trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch</a></li>
<li><a href="#trunkdportsdevellibunwindfiles0008Define__STDC_FORMAT_MACROStobringinformatmacropatch">trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsdevellibunwindfiles0009confighAddmissingincludeofstdinthforuint64_patch">trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevellibunwindPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/Portfile (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/Portfile    2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/Portfile       2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx">     0006-MacPorts-Makefile.patch \
</span><span class="cx">     0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch \
</span><span class="cx">     0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch \
</span><ins>+    0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch \
</ins><span class="cx">     clang-3.4-workaround.patch
</span><span class="cx"> 
</span><span class="cx"> post-patch {
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0001libunwindAddmissingincludeoflibunwind_exthtopatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch       2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 75444ad8aafbc3e6ed1722c3acaa371a26b5c39c Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 11 Jan 2015 14:28:08 -0800
</span><del>-Subject: [PATCH 1/8] libunwind: Add missing include of libunwind_ext.h to
</del><ins>+Subject: [PATCH 1/9] libunwind: Add missing include of libunwind_ext.h to
</ins><span class="cx">  CompactUnwinder.hpp, DwarfInstructions.hpp, and UnwindCursor.hpp
</span><span class="cx"> 
</span><span class="cx"> http://www.llvm.org/bugs/show_bug.cgi?id=22202
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0002libunwindUse__builtin_trapratherthan__builtin_upatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch       2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 48545458fdae89d84f692a3db8eeadd099d6efa5 Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 11 Jan 2015 14:34:13 -0800
</span><del>-Subject: [PATCH 2/8] libunwind: Use __builtin_trap rather than
</del><ins>+Subject: [PATCH 2/9] libunwind: Use __builtin_trap rather than
</ins><span class="cx">  __builtin_unreachable for older toolchains
</span><span class="cx"> 
</span><span class="cx"> http://www.llvm.org/bugs/show_bug.cgi?id=22198
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0003libunwindppcbuildfixpatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch    2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch       2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 47843087d4e8c4cc81711cddd2397af13bac96bf Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 11 Jan 2015 14:35:08 -0800
</span><del>-Subject: [PATCH 3/8] libunwind: ppc build fix
</del><ins>+Subject: [PATCH 3/9] libunwind: ppc build fix
</ins><span class="cx"> 
</span><span class="cx"> http://www.llvm.org/bugs/show_bug.cgi?id=22200
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0004libunwindOnlyincludeAvailabilityhonLeopardandpatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch       2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 3300cf61a636d04ff03e4d5fd1209403c0b09eeb Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 11 Jan 2015 19:24:43 -0800
</span><del>-Subject: [PATCH 4/8] libunwind: Only include <Availability.h> on Leopard and
</del><ins>+Subject: [PATCH 4/9] libunwind: Only include <Availability.h> on Leopard and
</ins><span class="cx">  newer OS X versions
</span><span class="cx"> 
</span><span class="cx"> http://www.llvm.org/bugs/show_bug.cgi?id=22203
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0005libunwindMacPortsavailabilitypatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch    2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch       2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 11950957207c44f826fdf879eb7a14b44cc07ce2 Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 4 Jan 2015 13:21:39 -0800
</span><del>-Subject: [PATCH 5/8] libunwind: MacPorts availability
</del><ins>+Subject: [PATCH 5/9] libunwind: MacPorts availability
</ins><span class="cx"> 
</span><span class="cx"> ---
</span><span class="cx">  include/libunwind.h        |  2 +-
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0006MacPortsMakefilepatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch  2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch     2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 6cf7588091bbd16ff08eedc8aba84393c7459f01 Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Tue, 20 Jan 2015 10:23:13 -0800
</span><del>-Subject: [PATCH 6/8] MacPorts Makefile
</del><ins>+Subject: [PATCH 6/9] MacPorts Makefile
</ins><span class="cx"> 
</span><span class="cx"> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> ---
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0007libunwindFixfallbackimplementationof_dyld_find_patch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch       2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 9b0ab675001b2c62cee59aecaaf88c41b63feb49 Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sun, 4 Jan 2015 13:30:53 -0800
</span><del>-Subject: [PATCH 7/8] libunwind: Fix fallback implementation of
</del><ins>+Subject: [PATCH 7/9] libunwind: Fix fallback implementation of
</ins><span class="cx">  _dyld_find_unwind_sections for x86_64 and document dependency on a newer
</span><span class="cx">  libmacho
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0008Define__STDC_FORMAT_MACROStobringinformatmacropatch"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch (153838 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch       2016-10-13 05:56:40 UTC (rev 153838)
+++ trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> From 10fb66425425c4d01f2c3a95a59869b200bb6969 Mon Sep 17 00:00:00 2001
</span><span class="cx"> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span class="cx"> Date: Sat, 7 Mar 2015 19:58:56 -0800
</span><del>-Subject: [PATCH 8/8] Define __STDC_FORMAT_MACROS to bring in format macros
</del><ins>+Subject: [PATCH 8/9] Define __STDC_FORMAT_MACROS to bring in format macros
</ins><span class="cx">  when including <inttypes.h> in C++ code
</span><span class="cx"> 
</span><span class="cx"> Fixes regression from: 1f22bd54e8565959c1d2c3ed7384cb77e18d0807
</span></span></pre></div>
<a id="trunkdportsdevellibunwindfiles0009confighAddmissingincludeofstdinthforuint64_patch"></a>
<div class="addfile"><h4>Added: trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch (0 => 153839)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch                               (rev 0)
+++ trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch  2016-10-13 06:02:13 UTC (rev 153839)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+From 59508d1029580fe2f95eb4b8a002175c6f87710d Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
+Date: Wed, 12 Oct 2016 22:52:51 -0700
+Subject: [PATCH 9/9] config.h: Add missing include of stdint.h for uint64_t
+ usage
+
+Regressed-in: trunk r270692
+Regressed-in: d2d1ea9d75dfc4f55540f7e3cf940c6a1d6674cc
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
+CC: Asiri Rathnayake <asiri.rathnayake@arm.com>
+---
+ src/config.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/config.h b/src/config.h
+index cfe7706..4e4dd99 100644
+--- a/src/config.h
++++ b/src/config.h
+@@ -16,6 +16,7 @@

+ #include <assert.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>

+ // Define static_assert() unless already defined by compiler.
+-- 
+2.10.1
+
</ins></span></pre>
</div>
</div>

</body>
</html>