1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

lang/luajit-openresty: fix build on powerpc64 elfv2

lua_assert is undefined, which makes build fail with:
/usr/local/bin/ld: libluajit.a(lj_ccallback.o): in function `lj_ccallback_new':
lj_ccallback.c:(.text+0xbc8): undefined reference to `lua_assert'

lua_assert is defined in lualib.h.
This commit is contained in:
Piotr Kubaj 2020-10-29 10:40:06 +00:00
parent ea2e210f27
commit 471f101ffd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553603

View File

@ -0,0 +1,10 @@
--- src/lj_ccallback.c.orig 2020-10-28 11:55:44 UTC
+++ src/lj_ccallback.c
@@ -20,6 +20,7 @@
#include "lj_mcode.h"
#include "lj_trace.h"
#include "lj_vm.h"
+#include "lualib.h"
/* -- Target-specific handling of callback slots -------------------------- */