mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Blacklist gcc-4.2 which the build system says is incompatible and add a patch to fix build failure. Closes: https://trac.macports.org/ticket/64853
14 lines
496 B
Diff
14 lines
496 B
Diff
Fix macOS PowerPC build.
|
|
https://www.freelists.org/post/luajit/LuaJIT-on-OS-X-Leopard-PowerPC,1
|
|
--- src/host/buildvm.c.orig 2022-03-13 12:34:59.000000000 -0500
|
|
+++ src/host/buildvm.c 2022-03-19 15:42:34.000000000 -0500
|
|
@@ -113,7 +113,7 @@
|
|
name[0] = name[1] == 'R' ? '_' : '@'; /* Just for _RtlUnwind@16. */
|
|
else
|
|
*p = '\0';
|
|
-#elif LJ_TARGET_PPC && !LJ_TARGET_CONSOLE
|
|
+#elif LJ_TARGET_PPC && !LJ_TARGET_CONSOLE && !LJ_TARGET_OSX
|
|
/* Keep @plt etc. */
|
|
#else
|
|
*p = '\0';
|