mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
correlates with xcode 11.3.1 remove rsrc fork stripping workaround there don't seem to be rsrc forks in cctools any longer fix build with older SDKs and older compilers various minor workarounds to allow build with SDKs < 10.12 and with older compilers that don't support __has_include closes: https://trac.macports.org/ticket/58749 closes: https://trac.macports.org/ticket/61133
14 lines
374 B
Diff
14 lines
374 B
Diff
--- src/abstraction/MachOFileAbstraction.hpp.orig 2020-04-22 18:23:23.000000000 -0700
|
|
+++ src/abstraction/MachOFileAbstraction.hpp 2020-04-22 18:38:47.000000000 -0700
|
|
@@ -79,6 +79,10 @@
|
|
#define N_COLD_FUNC 0x0400
|
|
#endif
|
|
|
|
+#ifndef __has_include
|
|
+#define __has_include(x) 0
|
|
+#endif
|
|
+
|
|
#if __has_include(<mach-o/fixup-chains2.h>)
|
|
#include <mach-o/fixup-chains.h>
|
|
#else
|