aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-hiredis/0001-lua-5-3-compatibility.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2017-07-31 19:54:39 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-03 13:20:16 +0000
commitd68c23c52432fcd21f65090a99d249294d2f05ed (patch)
tree16f62fd1bf781c9d5ca3a08467d9f2546b38b13e /community/lua-hiredis/0001-lua-5-3-compatibility.patch
parent0ba9f6eb5db697becaaae8311450af847f8809a9 (diff)
downloadaports-d68c23c52432fcd21f65090a99d249294d2f05ed.tar.bz2
aports-d68c23c52432fcd21f65090a99d249294d2f05ed.tar.xz
community/lua-hiredis
APKBUILD: hiredis.so now loads correctly 0003-: spell compatibility correctly 0004-: add backward compatibility define for luaL_checkint for Lua 5.3+
Diffstat (limited to 'community/lua-hiredis/0001-lua-5-3-compatibility.patch')
-rw-r--r--community/lua-hiredis/0001-lua-5-3-compatibility.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/lua-hiredis/0001-lua-5-3-compatibility.patch b/community/lua-hiredis/0001-lua-5-3-compatibility.patch
deleted file mode 100644
index c7bab778bb..0000000000
--- a/community/lua-hiredis/0001-lua-5-3-compatibility.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/lua-hiredis.c b/src/lua-hiredis.c
-index f8b2fdf..8cd7c56 100644
---- a/src/lua-hiredis.c
-+++ b/src/lua-hiredis.c
-@@ -8,6 +8,15 @@ extern "C" {
- #endif
-
- #include <lua.h>
-+
-+// Lua 5.2 compatibility
-+#if LUA_VERSION_NUM > 501
-+#define luaL_reg luaL_Reg
-+#define LUA_COMPAT_MODULE
-+#define LUA_COMPAT_APIINTCASTS
-+#endif
-+
-+
- #include <lauxlib.h>
-
- #if defined (__cplusplus)