From feb1a32bee310aa6c364acd59c3d985001fe11d5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 18 Feb 2017 13:19:13 -0300 Subject: grilo-plugins-0.3.4-1.nonprism1: updating version --- ...-Remove-bad-prototype-for-html_entity_has.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 nonprism/grilo-plugins/0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch (limited to 'nonprism/grilo-plugins/0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch') diff --git a/nonprism/grilo-plugins/0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch b/nonprism/grilo-plugins/0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch new file mode 100644 index 000000000..6f37c5474 --- /dev/null +++ b/nonprism/grilo-plugins/0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch @@ -0,0 +1,27 @@ +From 2fc539daa0e51a280f36c3d3558f15856bc217fd Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Fri, 17 Feb 2017 23:22:59 +0100 +Subject: [PATCH 1/2] lua-factory: Remove bad prototype for html_entity_hash + +gperf 3.1 changes the type of the len argument for the generated +function to size_t, causing a conflict. +--- + src/lua-factory/lua-library/htmlentity.gperf | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/lua-factory/lua-library/htmlentity.gperf b/src/lua-factory/lua-library/htmlentity.gperf +index cbd326c4f56f3e2d..096bf3e39b106eda 100644 +--- a/src/lua-factory/lua-library/htmlentity.gperf ++++ b/src/lua-factory/lua-library/htmlentity.gperf +@@ -35,8 +35,6 @@ struct _EntityEntry { + const gchar *name; + gulong value; + }; +-struct _EntityEntry * +-html_entity_hash (register const char *str, register unsigned int len); + %% + Aacute, 193 + aacute, 225 +-- +2.11.1 + -- cgit v1.2.3