On Fri, May 27, 2016 at 02:21:39PM +0200, Jeremie Courreges-Anglas wrote:
> j...@wxcvbn.org (Jeremie Courreges-Anglas) writes:
>
> > While testing the support for various lua versions in our lua ports,
> > I noticed the case of luasec,lua53 and luasocket,lua53.  luasocket
> > doesn't work with lua53.  I tried to limit its available flavors, but
> > did not get the expected failure when installing luasec,lua53:
> > luasocket,lua53 was still built and installed.
> >

I submitted a patch recently that made luasocket work with lua53. This
patch is already upstream and would make it to ports if they decide to
make a new release.

But otherwise I am fine with the changes.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/luasocket/Makefile,v
retrieving revision 1.31
diff -u -p -u -r1.31 Makefile
--- Makefile    5 Apr 2015 13:31:14 -0000       1.31
+++ Makefile    3 Apr 2016 18:26:55 -0000
@@ -7,7 +7,7 @@ V=              3.0-rc1
 GH_ACCOUNT=    diegonehab
 GH_PROJECT=    luasocket
 GH_TAGNAME=    v$V
-REVISION=      0
+REVISION=      1
 DISTNAME=      ${GH_PROJECT}-$V
 PKGNAME=       ${DISTNAME:S/-rc/rc/}
 CATEGORIES=    net
@@ -27,7 +27,8 @@ MAKE_FILE=    makefile
 MAKE_FLAGS=    CC_linux=${CC} \
                LD_linux=${CC} \
                CFLAGS_linux="${CFLAGS} -I${MODLUA_INCL_DIR} -fPIC \
-                             -DPIC -DUNIX_HAS_SUN_LEN" \
+                             -DPIC -DUNIX_HAS_SUN_LEN \
+                             -DLUA_COMPAT_APIINTCASTS" \
                LDFLAGS_linux="${LDFLAGS} -shared -fPIC -o "
 
 do-install:

Reply via email to