SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
28
graphics/luagd/patches/patch-luagd_c
Normal file
28
graphics/luagd/patches/patch-luagd_c
Normal file
|
@ -0,0 +1,28 @@
|
|||
--- 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 }
|
||||
};
|
||||
|
||||
|
||||
-int luaopen_gd(lua_State *L) {
|
||||
+int luaopen_gd_core(lua_State *L) {
|
||||
luaL_register(L, LIB_NAME, LgdFunctions);
|
||||
|
||||
lua_pushliteral(L, "VERSION");
|
Loading…
Add table
Add a link
Reference in a new issue