Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -0,0 +1,40 @@
From 77cb691f781918908dfe34785f00a5ff75d5cc20 Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sat, 16 Feb 2019 15:56:00 +0100
Subject: [PATCH] restore getcurrentbytecount
see https://github.com/tomasguisasola/luaexpat/issues/3
Fetch from: https://github.com/tomasguisasola/luaexpat/commit/0926f2d705109b7d35b721344264b39c1169e0de
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
src/lxplib.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/luaexpat-1.3.3/src/lxplib.c b/luaexpat-1.3.3/src/lxplib.c
index 7726913..35bec3c 100644
--- a/luaexpat-1.3.3/src/lxplib.c
+++ b/luaexpat-1.3.3/src/lxplib.c
@@ -538,11 +538,18 @@ static int lxp_stop (lua_State *L) {
return 1;
}
+static int lxp_getcurrentbytecount (lua_State* L) {
+ lxp_userdata *xpu = checkparser(L, 1);
+ lua_pushinteger(L, XML_GetCurrentByteCount(xpu->parser));
+ return 1;
+}
+
static const luaL_Reg lxp_meths[] = {
{"parse", lxp_parse},
{"close", lxp_close},
{"__gc", parser_gc},
{"pos", lxp_pos},
+ {"getcurrentbytecount", lxp_getcurrentbytecount},
{"setencoding", lxp_setencoding},
{"getcallbacks", getcallbacks},
{"getbase", getbase},
--
2.17.1

View File

@@ -1,8 +1,7 @@
config BR2_PACKAGE_LUAEXPAT
bool "luaexpat"
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
select BR2_PACKAGE_EXPAT
help
LuaExpat is a SAX XML parser based on the Expat library.
http://matthewwild.co.uk/projects/luaexpat/
http://www.keplerproject.org/luaexpat/

View File

@@ -1,2 +1,3 @@
# Locally calculated
sha256 aa7883a0d44f500e32ef306c04632546f97f33159fffa7bcdc3f451170f95896 luaexpat-1.3.0-1.src.rock
# computed by luarocks/buildroot
sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock
sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE

View File

@@ -4,9 +4,9 @@
#
################################################################################
LUAEXPAT_VERSION = 1.3.0-1
LUAEXPAT_DEPENDENCIES = expat
LUAEXPAT_VERSION = 1.3.3-1
LUAEXPAT_LICENSE = MIT
LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/doc/us/license.html
LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE
LUAEXPAT_DEPENDENCIES = expat
$(eval $(luarocks-package))