aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-rapidjson/use-dromozoa-utf8.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-26 23:03:18 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-26 23:04:01 +0100
commit40363da4883e8e9abec526b41f0f34610e626872 (patch)
tree614f27faa0fa92550bbdfddc616dea6a053a2b67 /community/lua-rapidjson/use-dromozoa-utf8.patch
parenteb9258b9736f26457dd4c7a893a86a5490a1e348 (diff)
downloadaports-40363da4883e8e9abec526b41f0f34610e626872.tar.bz2
aports-40363da4883e8e9abec526b41f0f34610e626872.tar.xz
community/lua-rapidjson: upgrade to 0.6.1
Diffstat (limited to 'community/lua-rapidjson/use-dromozoa-utf8.patch')
-rw-r--r--community/lua-rapidjson/use-dromozoa-utf8.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/lua-rapidjson/use-dromozoa-utf8.patch b/community/lua-rapidjson/use-dromozoa-utf8.patch
new file mode 100644
index 0000000000..61dfa37e62
--- /dev/null
+++ b/community/lua-rapidjson/use-dromozoa-utf8.patch
@@ -0,0 +1,11 @@
+We don't have lua-utf8 in aports yet, so use dromozoa-utf8 instead.
+
+--- a/spec/json_load_spec.lua
++++ b/spec/json_load_spec.lua
+@@ -1,5 +1,5 @@
+ --luacheck: ignore describe it
+-local utf8 = require "lua-utf8" -- luarocks install luautf8
++local utf8 = require "dromozoa.utf8"
+ describe('rapidjson.load()', function()
+ local rapidjson = require('rapidjson')
+ describe('report error', function()