[153839] trunk/dports/devel/libunwind

jeremyhu at macports.org jeremyhu at macports.org
Thu Oct 13 08:02:13 CEST 2016


Revision: 153839
          https://trac.macports.org/changeset/153839
Author:   jeremyhu at macports.org
Date:     2016-10-12 23:02:13 -0700 (Wed, 12 Oct 2016)
Log Message:
-----------
libunwind: Fix a build failure on Mountain Lion and earlier

Modified Paths:
--------------
    trunk/dports/devel/libunwind/Portfile
    trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch
    trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch
    trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch
    trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch
    trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch
    trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch
    trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch
    trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch

Added Paths:
-----------
    trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch

Modified: trunk/dports/devel/libunwind/Portfile
===================================================================
--- 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)
@@ -40,6 +40,7 @@
     0006-MacPorts-Makefile.patch \
     0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch \
     0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch \
+    0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch \
     clang-3.4-workaround.patch
 
 post-patch {

Modified: trunk/dports/devel/libunwind/files/0001-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 75444ad8aafbc3e6ed1722c3acaa371a26b5c39c Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 11 Jan 2015 14:28:08 -0800
-Subject: [PATCH 1/8] libunwind: Add missing include of libunwind_ext.h to
+Subject: [PATCH 1/9] libunwind: Add missing include of libunwind_ext.h to
  CompactUnwinder.hpp, DwarfInstructions.hpp, and UnwindCursor.hpp
 
 http://www.llvm.org/bugs/show_bug.cgi?id=22202

Modified: trunk/dports/devel/libunwind/files/0002-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 48545458fdae89d84f692a3db8eeadd099d6efa5 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 11 Jan 2015 14:34:13 -0800
-Subject: [PATCH 2/8] libunwind: Use __builtin_trap rather than
+Subject: [PATCH 2/9] libunwind: Use __builtin_trap rather than
  __builtin_unreachable for older toolchains
 
 http://www.llvm.org/bugs/show_bug.cgi?id=22198

Modified: trunk/dports/devel/libunwind/files/0003-libunwind-ppc-build-fix.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 47843087d4e8c4cc81711cddd2397af13bac96bf Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 11 Jan 2015 14:35:08 -0800
-Subject: [PATCH 3/8] libunwind: ppc build fix
+Subject: [PATCH 3/9] libunwind: ppc build fix
 
 http://www.llvm.org/bugs/show_bug.cgi?id=22200
 

Modified: trunk/dports/devel/libunwind/files/0004-libunwind-Only-include-Availability.h-on-Leopard-and.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 3300cf61a636d04ff03e4d5fd1209403c0b09eeb Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 11 Jan 2015 19:24:43 -0800
-Subject: [PATCH 4/8] libunwind: Only include <Availability.h> on Leopard and
+Subject: [PATCH 4/9] libunwind: Only include <Availability.h> on Leopard and
  newer OS X versions
 
 http://www.llvm.org/bugs/show_bug.cgi?id=22203

Modified: trunk/dports/devel/libunwind/files/0005-libunwind-MacPorts-availability.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 11950957207c44f826fdf879eb7a14b44cc07ce2 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 4 Jan 2015 13:21:39 -0800
-Subject: [PATCH 5/8] libunwind: MacPorts availability
+Subject: [PATCH 5/9] libunwind: MacPorts availability
 
 ---
  include/libunwind.h        |  2 +-

Modified: trunk/dports/devel/libunwind/files/0006-MacPorts-Makefile.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 6cf7588091bbd16ff08eedc8aba84393c7459f01 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Tue, 20 Jan 2015 10:23:13 -0800
-Subject: [PATCH 6/8] MacPorts Makefile
+Subject: [PATCH 6/9] MacPorts Makefile
 
 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 ---

Modified: trunk/dports/devel/libunwind/files/0007-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 9b0ab675001b2c62cee59aecaaf88c41b63feb49 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 4 Jan 2015 13:30:53 -0800
-Subject: [PATCH 7/8] libunwind: Fix fallback implementation of
+Subject: [PATCH 7/9] libunwind: Fix fallback implementation of
  _dyld_find_unwind_sections for x86_64 and document dependency on a newer
  libmacho
 

Modified: trunk/dports/devel/libunwind/files/0008-Define-__STDC_FORMAT_MACROS-to-bring-in-format-macro.patch
===================================================================
--- 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)
@@ -1,7 +1,7 @@
 From 10fb66425425c4d01f2c3a95a59869b200bb6969 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 7 Mar 2015 19:58:56 -0800
-Subject: [PATCH 8/8] Define __STDC_FORMAT_MACROS to bring in format macros
+Subject: [PATCH 8/9] Define __STDC_FORMAT_MACROS to bring in format macros
  when including <inttypes.h> in C++ code
 
 Fixes regression from: 1f22bd54e8565959c1d2c3ed7384cb77e18d0807

Added: trunk/dports/devel/libunwind/files/0009-config.h-Add-missing-include-of-stdint.h-for-uint64_.patch
===================================================================
--- 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)
@@ -0,0 +1,29 @@
+From 59508d1029580fe2f95eb4b8a002175c6f87710d Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at 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 at apple.com>
+CC: Asiri Rathnayake <asiri.rathnayake at 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
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161012/30336325/attachment-0002.html>


More information about the macports-changes mailing list