summaryrefslogtreecommitdiffstats
path: root/lua-5.1.2-multilib.patch
diff options
context:
space:
mode:
authorHans de Goede <jwrdegoede@fedoraproject.org>2007-10-21 17:43:45 +0000
committerHans de Goede <jwrdegoede@fedoraproject.org>2007-10-21 17:43:45 +0000
commit81d929317c323884b4153926921cccccc12fc775 (patch)
tree921998e605dbb559aa86ae73340fb20d2a6c8294 /lua-5.1.2-multilib.patch
parent29a09fe6a1ecc0163cdc53c9fbed7295c994af9d (diff)
downloadlua-81d929317c323884b4153926921cccccc12fc775.tar.gz
lua-81d929317c323884b4153926921cccccc12fc775.tar.xz
lua-81d929317c323884b4153926921cccccc12fc775.zip
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-2lua-5_1_2-2_fc9
- Fix multilib condlict in luaconf.h (bz 342561)
Diffstat (limited to 'lua-5.1.2-multilib.patch')
-rw-r--r--lua-5.1.2-multilib.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/lua-5.1.2-multilib.patch b/lua-5.1.2-multilib.patch
new file mode 100644
index 0000000..cb9d278
--- /dev/null
+++ b/lua-5.1.2-multilib.patch
@@ -0,0 +1,16 @@
+diff -up lua-5.1.2/src/luaconf.h.template.in~ lua-5.1.2/src/luaconf.h.template.in
+--- lua-5.1.2/src/luaconf.h.template.in~ 2007-10-21 19:33:30.000000000 +0200
++++ lua-5.1.2/src/luaconf.h.template.in 2007-10-21 19:33:30.000000000 +0200
+@@ -98,7 +98,11 @@
+
+ /** autotools-patch **/
+ #define LUA_LDIR "%lua_datadir%/lua/5.1/"
+-#define LUA_CDIR "%lua_libdir%/lua/5.1/"
++#if defined __alpha__ || defined __powerpc64__ || defined __s390x__ || defined __x86_64__
++#define LUA_CDIR "/usr/lib64/lua/5.1/"
++#else
++#define LUA_CDIR "/usr/lib/lua/5.1/"
++#endif
+ /** autotools-patch **/
+
+ #define LUA_PATH_DEFAULT \