grobian 15/02/03 21:04:09 Added: csu-85-darwin8.patch Log: Version bump to version from Darwin14, based on ebuild and patch by Michael Weiser, bug #538602 (Portage version: 2.2.14-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Revision Changes Path 1.1 sys-libs/csu/files/csu-85-darwin8.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/files/csu-85-darwin8.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/files/csu-85-darwin8.patch?rev=1.1&content-type=text/plain Index: csu-85-darwin8.patch =================================================================== --- Csu-85/start.s +++ Csu-85/start.s @@ -22,7 +22,10 @@ * @APPLE_LICENSE_HEADER_END@ */ -#include <Availability.h> +/* This is fun: We could use AvailabilityMacros.h to check if we're compiling + * for < 10.5 and not inclue Availability.h then. But we are compiling with + * deployment target 10.5 *on this host* where we still won't have + * Availability.h. So just drop the include */ #if __ppc__ && __DYNAMIC__ // @@ -203,7 +206,7 @@ cmp r4, #0 bne Lapple // "apple" param now in r3 -#if __STATIC__ || ((__IPHONE_OS_VERSION_MIN_REQUIRED >= 30100) && !__ARM_ARCH_4T__) +#if __STATIC__ bl _main b _exit #else
