diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-rapidjson/APKBUILD | 11 | ||||
-rw-r--r-- | community/lua-rapidjson/use-dromozoa-utf8.patch | 11 |
2 files changed, 17 insertions, 5 deletions
diff --git a/community/lua-rapidjson/APKBUILD b/community/lua-rapidjson/APKBUILD index b960bfe903..435102b862 100644 --- a/community/lua-rapidjson/APKBUILD +++ b/community/lua-rapidjson/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=lua-rapidjson _rockname=rapidjson -pkgver=0.5.1 -pkgrel=1 +pkgver=0.6.1 +pkgrel=0 pkgdesc="A JSON module for Lua based on the very fast RapidJSON library" url="https://github.com/xpol/lua-rapidjson" arch="all" @@ -13,7 +13,8 @@ subpackages="" checkdepends="lua-busted" source="$pkgname-$pkgver.tar.gz::https://github.com/xpol/$pkgname/archive/v$pkgver.tar.gz disable-c-cxx-flag-march.patch - fix-json_encode_spec.patch" + use-dromozoa-utf8.patch + " builddir="$srcdir/$pkgname-$pkgver" # luajit is not available for selected arches @@ -86,6 +87,6 @@ _subpackage() { echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } -sha512sums="281a7f98212d1648f270180a2f7475884c5cb9c9b1ee901113fc2a96bff86b4897c8d9cc0e40f7cf1b9edd09540119734118f7e06879eaaecf3f3d6f7f5f84e0 lua-rapidjson-0.5.1.tar.gz +sha512sums="45a4ed54b84739bbec538e4a58c0162201ae3b65ea03d171c637f6868568402a45ceccaef123e7a1fbf8244aa41912bc0491f0233bcc839634568a0edbc0f274 lua-rapidjson-0.6.1.tar.gz 9bfe86c75765d0684f33b660129c3ab90629b8518b05d14aa99ea15e6eb39dcb0a56e9a705f2dcae0f463e7ed92c8759628b0fbdaeee43aff34ac7e5b6c6bf10 disable-c-cxx-flag-march.patch -ad66d29f6dd1ed1a3eafff79b77567a28c0b5d746a2564e0ce5fa8a26bf792d788b96ec63bacd907f85c89a561ada690c526e6be36246cd50f8ea45180977cc0 fix-json_encode_spec.patch" +f42ec35dac0dec1cdd33f7275ec9576f5b2e5f7dc473a6ff434eab483632b30d884c3918d72a3ba495e2e2cfbc56488172e128eb2f9cb65c6b1c840e46ccd70a use-dromozoa-utf8.patch" 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() |