Revision
110301
Author
jeremyhu@macports.org
Date
2013-08-29 12:28:00 -0700 (Thu, 29 Aug 2013)

Log Message

libunwind-headers: define _Unwind_GetIPInfo availability (#36226)

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/libunwind-headers/Portfile (110300 => 110301)


--- trunk/dports/devel/libunwind-headers/Portfile	2013-08-29 19:19:45 UTC (rev 110300)
+++ trunk/dports/devel/libunwind-headers/Portfile	2013-08-29 19:28:00 UTC (rev 110301)
@@ -4,6 +4,7 @@
 
 name                    libunwind-headers
 version                 35.1
+revision                1
 categories              devel
 maintainers             mfeiri openmaintainer
 homepage                http://opensource.apple.com/source/libunwind/
@@ -23,6 +24,8 @@
                         rmd160  6debb7f1a69d53ecb4512d5c9fa374ef34c4db0e \
                         sha256  d88ecd5c37f0c0c4d18feb9be52e7b2363ef2709cd2eb36e2e205f3226110de1
 
+patchfiles tiger-Unwind_GetIPInfo.patch 
+
 post-patch { 
     reinplace "s|/usr/local|${prefix}|g" \
             ${worksrcpath}/libunwind.xcodeproj/project.pbxproj

Added: trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch (0 => 110301)


--- trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch	                        (rev 0)
+++ trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch	2013-08-29 19:28:00 UTC (rev 110301)
@@ -0,0 +1,10 @@
+--- include/unwind.h.orig	2013-08-29 12:22:05.000000000 -0700
++++ include/unwind.h	2013-08-29 12:23:54.000000000 -0700
+@@ -166,6 +166,7 @@ extern uintptr_t _Unwind_GetCFA(struct _
+ // which is after the call instruction and may be past the end of the function
+ // containing the call instruction.
+ //
++__OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0)
+ extern uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context* context, int* ipBefore);
+ 
+