aports/main/lua-iconv/0001-lua-iconv-make-close-available-from-lua.patch
2010-02-17 09:08:38 +00:00

25 lines
679 B
Diff

From 3281ed1babad138daa3ebe892b4f3d7ce5b9c85c Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 17 Feb 2010 08:54:06 +0000
Subject: [PATCH] lua-iconv: make close() available from lua
Seems like this was forgotten
---
luaiconv.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/luaiconv.c b/luaiconv.c
index 514f1fb..0c6ef06 100644
--- a/luaiconv.c
+++ b/luaiconv.c
@@ -204,6 +204,7 @@ static const luaL_reg inconvFuncs[] = {
{ "open", Liconv_open },
{ "new", Liconv_open },
{ "iconv", Liconv },
+ { "close", Liconv_close },
#ifdef HAS_ICONVLIST
{ "list", Liconvlist },
#endif
--
1.6.6.1