svn commit: r553603 - head/lang/luajit-openresty/files

Piotr Kubaj pkubaj at FreeBSD.org
Thu Oct 29 10:40:07 UTC 2020


Author: pkubaj
Date: Thu Oct 29 10:40:06 2020
New Revision: 553603
URL: https://svnweb.freebsd.org/changeset/ports/553603

Log:
  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.

Added:
  head/lang/luajit-openresty/files/patch-src_lj__ccallback.c   (contents, props changed)

Added: head/lang/luajit-openresty/files/patch-src_lj__ccallback.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/luajit-openresty/files/patch-src_lj__ccallback.c	Thu Oct 29 10:40:06 2020	(r553603)
@@ -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 -------------------------- */
+ 


More information about the svn-ports-all mailing list