unbreak with lua 5.2
This commit is contained in:
parent
c580293b7c
commit
20a1fc96d9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2013/03/11 11:10:54 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2013/05/30 16:05:26 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -7,7 +7,7 @@ COMMENT= gd binding for the lua language
|
||||
V= 2.0.33r2
|
||||
PKGNAME= luagd-$(V)
|
||||
DISTNAME= lua-gd-$(V)
|
||||
REVISION= 8
|
||||
REVISION= 9
|
||||
CATEGORIES= graphics
|
||||
|
||||
HOMEPAGE= http://lua-gd.luaforge.net/
|
||||
|
@ -1,7 +1,24 @@
|
||||
$OpenBSD: patch-luagd_c,v 1.2 2006/07/30 04:46:42 pedro Exp $
|
||||
--- luagd.c.orig Wed May 3 22:03:48 2006
|
||||
+++ luagd.c Fri May 19 15:47:39 2006
|
||||
@@ -2294,7 +2294,7 @@ static const luaL_reg LgdMetatable[] =
|
||||
$OpenBSD: patch-luagd_c,v 1.3 2013/05/30 16:05:26 jasper Exp $
|
||||
--- luagd.c.orig Thu May 4 03:03:48 2006
|
||||
+++ luagd.c Thu May 30 19:58:52 2013
|
||||
@@ -2143,7 +2143,7 @@ static int LgdImageGifAnimEndPtr(lua_State *L) {
|
||||
|
||||
|
||||
|
||||
-static const luaL_reg LgdFunctions[] =
|
||||
+static const luaL_Reg LgdFunctions[] =
|
||||
{
|
||||
/* Leave Lua do it!
|
||||
{ "destroy", LgdImageDestroy }, */
|
||||
@@ -2287,14 +2287,14 @@ static const luaL_reg LgdFunctions[] =
|
||||
};
|
||||
|
||||
|
||||
-static const luaL_reg LgdMetatable[] =
|
||||
+static const luaL_Reg LgdMetatable[] =
|
||||
{
|
||||
{ "__gc", LgdImageDestroy },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user