1607N/APatch to src/luaconf.h is to adjust lua's default path for where it
1607N/Alooks for .lua and lua related .so's
1607N/A
1184N/A--- src/lua.h.~1~ Fri Apr 20 06:18:26 2012
1184N/A+++ src/lua.h Tue Oct 16 16:37:24 2012
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
1184N/A@@ -435,5 +439,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
1184N/A
1184N/A--- src/lualib.h.~1~ Thu Dec 8 04:11:37 2011
1184N/A+++ src/lualib.h Tue Oct 16 16:34:40 2012
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
1184N/A@@ -51,5 +55,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
1184N/A--- src/lauxlib.h.~1~ Tue Nov 29 07:55:08 2011
1184N/A+++ src/lauxlib.h Tue Oct 16 16:34:40 2012
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>
1184N/A@@ -206,7 +209,9 @@
97N/A
1184N/A #endif
97N/A
1184N/A-
97N/A+#ifdef __cplusplus
97N/A+}
97N/A #endif
97N/A
1184N/A+#endif
1184N/A
1607N/A
1607N/A--- src/luaconf.h.orig 2012-10-25 08:39:30.502881780 -0700
1607N/A+++ src/luaconf.h 2012-10-25 08:40:00.726463215 -0700
1607N/A@@ -100,7 +100,7 @@
1607N/A #else /* }{ */
1607N/A
1607N/A #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
1607N/A-#define LUA_ROOT "/usr/local/"
1607N/A+#define LUA_ROOT "/usr/"
1607N/A #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
1607N/A #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
1607N/A #define LUA_PATH_DEFAULT \