components/lua/patches/3.headers.patch
branchs11-update
changeset 4226 efcbdc9d6dd8
parent 115 c360825c3a3f
equal deleted inserted replaced
4223:d3541a291d5e 4226:efcbdc9d6dd8
       
     1 Patch to src/luaconf.h is to adjust lua's default path for where it 
       
     2 looks for .lua and lua related .so's
       
     3 
     1 --- lua-5.1.4/src/lua.h.orig	2009-01-06 02:15:11.179130113 -0800
     4 --- lua-5.1.4/src/lua.h.orig	2009-01-06 02:15:11.179130113 -0800
     2 +++ lua-5.1.4/src/lua.h	2009-01-06 02:15:56.570695998 -0800
     5 +++ lua-5.1.4/src/lua.h	2009-01-06 02:15:56.570695998 -0800
     3 @@ -9,6 +9,10 @@
     6 @@ -9,6 +9,10 @@
     4  #ifndef lua_h
     7  #ifndef lua_h
     5  #define lua_h
     8  #define lua_h
    63 +#endif
    66 +#endif
    64 +
    67 +
    65  #endif
    68  #endif
    66  
    69  
    67  
    70  
       
    71 --- lua-5.1.4/src/luaconf.h	Wed Apr 29 11:49:07 2015
       
    72 +++ lua-5.1.4/src/luaconf.h	Wed Apr 29 12:50:39 2015
       
    73 @@ -94,7 +94,7 @@
       
    74  	".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
       
    75  
       
    76  #else
       
    77 -#define LUA_ROOT	"/usr/local/"
       
    78 +#define LUA_ROOT	"/usr/"
       
    79  #define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
       
    80  #define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
       
    81  #define LUA_PATH_DEFAULT  \