Revision: 110482 https://trac.macports.org/changeset/110482 Author: jeremyhu@macports.org Date: 2013-08-31 09:13:52 -0700 (Sat, 31 Aug 2013) Log Message: ----------- apple-gcc42: _Unwind_GetIPInfo is not available on Tiger (#36226) Modified Paths: -------------- trunk/dports/lang/apple-gcc42/Portfile Added Paths: ----------- trunk/dports/lang/apple-gcc42/files/tiger-Unwind_GetIPInfo.patch Modified: trunk/dports/lang/apple-gcc42/Portfile =================================================================== --- trunk/dports/lang/apple-gcc42/Portfile 2013-08-31 15:55:58 UTC (rev 110481) +++ trunk/dports/lang/apple-gcc42/Portfile 2013-08-31 16:13:52 UTC (rev 110482) @@ -6,7 +6,7 @@ name apple-gcc42 version 5666.3 set gcc_version 4.2.1 -revision 11 +revision 12 categories lang platforms darwin license {GPL-2+ Permissive} @@ -97,13 +97,15 @@ # incpath.patch : Don't prepend the -isysroot option argument to the compiler's own search paths # driverdriver-num_infiles.patch : Fix linking with no input files (ie all static archives passed with -l...) # driverdriver-armcheck.patch : Build fix for the driverdriver when arm support is not available (eg: Tiger) +# tiger-Unwind_GetIPInfo.patch : https://trac.macports.org/ticket/36226 patchfiles-append \ werror-c-incpath.patch \ werror-local-alloc.patch \ incpath.patch \ driverdriver-num_infiles.patch \ - driverdriver-armcheck.patch + driverdriver-armcheck.patch \ + tiger-Unwind_GetIPInfo.patch # gcj fails to build: # gcc/java/lang.c: In function 'java_init': Added: trunk/dports/lang/apple-gcc42/files/tiger-Unwind_GetIPInfo.patch =================================================================== --- trunk/dports/lang/apple-gcc42/files/tiger-Unwind_GetIPInfo.patch (rev 0) +++ trunk/dports/lang/apple-gcc42/files/tiger-Unwind_GetIPInfo.patch 2013-08-31 16:13:52 UTC (rev 110482) @@ -0,0 +1,12 @@ +--- gcc/unwind-generic.h.orig 2013-08-29 12:33:52.000000000 -0700 ++++ gcc/unwind-generic.h 2013-08-29 12:35:51.000000000 -0700 +@@ -155,7 +155,9 @@ extern _Unwind_Word _Unwind_GetGR (struc + extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word); + + extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *); ++#if !defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 + extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *); ++#endif + extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr); + + /* @@@ Retrieve the CFA of the given context. */
participants (1)
-
jeremyhu@macports.org