jkaluza pushed to httpd (f22). "Add missing Lua patch"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Mar 27 09:19:42 UTC 2015
>From fbd66cc14ab60853b1b6f6515ba3baaa6f2b1a7b Mon Sep 17 00:00:00 2001
From: Jan Kaluza <jkaluza at redhat.com>
Date: Fri, 27 Mar 2015 09:39:47 +0100
Subject: Add missing Lua patch
diff --git a/httpd-2.4.10-lua53.patch b/httpd-2.4.10-lua53.patch
new file mode 100644
index 0000000..9578111
--- /dev/null
+++ b/httpd-2.4.10-lua53.patch
@@ -0,0 +1,16 @@
+Index: modules/lua/mod_lua.c
+===================================================================
+--- modules/lua/mod_lua.c (revision 1668826)
++++ modules/lua/mod_lua.c (working copy)
+@@ -1072,7 +1072,11 @@
+ else {
+ luaL_Buffer b;
+ luaL_buffinit(lvm, &b);
++#if LUA_VERSION_NUM >= 503
++ lua_dump(lvm, ldump_writer, &b, 0);
++#else
+ lua_dump(lvm, ldump_writer, &b);
++#endif
+ luaL_pushresult(&b);
+ spec->bytecode_len = lua_strlen(lvm, -1);
+ spec->bytecode = apr_pstrmemdup(cmd->pool, lua_tostring(lvm, -1),
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/httpd.git/commit/?h=f22&id=fbd66cc14ab60853b1b6f6515ba3baaa6f2b1a7b
More information about the scm-commits
mailing list