port lua-luafilesystem: fixing build with lua 5.2, struct changed name
--- trunk/dports/devel/lua-luafilesystem/Portfile 2013-10-29 20:31:27 UTC (rev 112708)
+++ trunk/dports/devel/lua-luafilesystem/Portfile 2013-10-29 21:24:13 UTC (rev 112709)
@@ -25,6 +25,7 @@
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config
+ reinplace "s|luaL_reg |luaL_Reg |g" ${worksrcpath}/src/lfs.c
}
use_configure no