4224N/APatch to src/luaconf.h is to adjust lua's default path for where it
4224N/Alooks for .lua and lua related .so's
4224N/A
97N/A--- lua-5.1.4/src/lua.h.orig 2009-01-06 02:15:11.179130113 -0800
97N/A+++ lua-5.1.4/src/lua.h 2009-01-06 02:15:56.570695998 -0800
97N/A@@ -9,6 +9,10 @@
97N/A #ifndef lua_h
97N/A #define lua_h
97N/A
97N/A+#ifdef __cplusplus
97N/A+extern "C" {
97N/A+#endif
97N/A+
97N/A #include <stdarg.h>
97N/A #include <stddef.h>
97N/A
97N/A@@ -384,5 +388,8 @@
97N/A * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
97N/A ******************************************************************************/
97N/A
97N/A+#ifdef __cplusplus
97N/A+}
97N/A+#endif
97N/A
97N/A #endif
97N/A--- lua-5.1.4/src/lualib.h.orig 2009-01-06 02:15:19.193417835 -0800
97N/A+++ lua-5.1.4/src/lualib.h 2009-01-06 02:16:20.502288036 -0800
97N/A@@ -8,6 +8,10 @@
97N/A #ifndef lualib_h
97N/A #define lualib_h
97N/A
97N/A+#ifdef __cplusplus
97N/A+extern "C" {
97N/A+#endif
97N/A+
97N/A #include "lua.h"
97N/A
97N/A
97N/A@@ -49,5 +53,8 @@
97N/A #define lua_assert(x) ((void)0)
97N/A #endif
97N/A
97N/A+#ifdef __cplusplus
97N/A+}
97N/A+#endif
97N/A
97N/A #endif
97N/A--- lua-5.1.4/src/lauxlib.h.orig 2009-01-06 02:15:37.967244620 -0800
97N/A+++ lua-5.1.4/src/lauxlib.h 2009-01-06 02:16:26.398180986 -0800
97N/A@@ -8,6 +8,9 @@
97N/A #ifndef lauxlib_h
97N/A #define lauxlib_h
97N/A
97N/A+#ifdef __cplusplus
97N/A+extern "C" {
97N/A+#endif
97N/A
97N/A #include <stddef.h>
97N/A #include <stdio.h>
97N/A@@ -169,6 +172,10 @@
97N/A
97N/A #define luaL_reg luaL_Reg
97N/A
97N/A+#ifdef __cplusplus
97N/A+}
97N/A+#endif
97N/A+
97N/A #endif
97N/A
97N/A
4224N/A--- lua-5.1.4/src/luaconf.h Wed Apr 29 11:49:07 2015
4224N/A+++ lua-5.1.4/src/luaconf.h Wed Apr 29 12:50:39 2015
4224N/A@@ -94,7 +94,7 @@
4224N/A ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
4224N/A
4224N/A #else
4224N/A-#define LUA_ROOT "/usr/local/"
4224N/A+#define LUA_ROOT "/usr/"
4224N/A #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
4224N/A #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
4224N/A #define LUA_PATH_DEFAULT \