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:
parent
ea2e210f27
commit
471f101ffd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553603
10
lang/luajit-openresty/files/patch-src_lj__ccallback.c
Normal file
10
lang/luajit-openresty/files/patch-src_lj__ccallback.c
Normal 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 -------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user