Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 10:40:06 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553603 - head/lang/luajit-openresty/files
Message-ID:  <202010291040.09TAe6Yi036182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 -------------------------- */
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010291040.09TAe6Yi036182>