summaryrefslogtreecommitdiff
path: root/dev-db/redis/redis-5.0.14.ebuild
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-07-01 15:23:28 +0200
committerSam James <sam@gentoo.org>2022-07-02 14:55:33 +0000
commit881481e001d00a730884606bfb07eebd5b130dde (patch)
tree9406b7a2186cbe668ea86107d839ce7440bd2521 /dev-db/redis/redis-5.0.14.ebuild
parent3fe0c7d487aa32ab3a3a54c9b6cbc6f258b30474 (diff)
downloadgentoo-881481e001d00a730884606bfb07eebd5b130dde.tar.gz
gentoo-881481e001d00a730884606bfb07eebd5b130dde.tar.bz2
gentoo-881481e001d00a730884606bfb07eebd5b130dde.zip
dev-db/redis: build fix for luajit-2.1
luajit-2.1 integrated few extensions from lua5.2 [1] luaL_setfuncs being one of them. The same function is implemented in bundled lua-cjson for lua5.1 but is not properly guarded for luajit-2.1. This change backports the fix [2,3] from https://github.com/openresty/lua-cjson. [1] https://github.com/LuaJIT/LuaJIT/commit/de97b9d52bbc42effeaf1180764053a912526873 [2] https://github.com/openresty/lua-cjson/commit/638ac2741a7f274979ac3fe2e1ea5fd6487702fe [3] https://github.com/openresty/lua-cjson/pull/32 Closes: https://bugs.gentoo.org/842444 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/redis/redis-5.0.14.ebuild')
-rw-r--r--dev-db/redis/redis-5.0.14.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-db/redis/redis-5.0.14.ebuild b/dev-db/redis/redis-5.0.14.ebuild
index b12534f6948d..5064cb59f2ec 100644
--- a/dev-db/redis/redis-5.0.14.ebuild
+++ b/dev-db/redis/redis-5.0.14.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.0-sharedlua.patch
"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
+ "${FILESDIR}"/${PN}-5.0-luajit-2.1-fix.patch
)
src_prepare() {