Revision
112709
Author
and.damore@macports.org
Date
2013-10-29 14:24:13 -0700 (Tue, 29 Oct 2013)

Log Message

port lua-luafilesystem: fixing build with lua 5.2, struct changed name

Modified Paths

Diff

Modified: trunk/dports/devel/lua-luafilesystem/Portfile (112708 => 112709)


--- 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