I build it from a tar.gz download from luajit.org I will try your's PATCH
2014-02-14 15:44 GMT+08:00 John Marino <[email protected]>: > On 2/14/2014 02:22, lhmwzy wrote: > > I have tried as fllowing > > > > diff -Nur LuaJIT-2.0.2/src/lj_alloc.c LuaJIT-2.0.2.patch/src/lj_alloc.c > > --- LuaJIT-2.0.2/src/lj_alloc.c 2013-06-03 19:00:00.000000000 +0000 > > +++ LuaJIT-2.0.2.patch/src/lj_alloc.c 2014-02-14 07:19:53.948397000 +0000 > > @@ -188,7 +188,7 @@ > > return ptr; > > } > > > > Maybe this is a stupid question, but are you building luajit from > dports? http://gitweb.dragonflybsd.org/dports.git/tree/HEAD:/lang/luajit > > AFAIK it builds fine there (after I patched it). > > John >
