aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base
downloadtrunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.gz
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.bz2
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.zip
Diffstat (limited to 'package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base')
-rw-r--r--package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base b/package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base
new file mode 100644
index 0000000..2ea59f1
--- /dev/null
+++ b/package/lua/patches-host/.svn/text-base/015-lnum-ppc-compat.patch.svn-base
@@ -0,0 +1,11 @@
+--- a/src/lua.h
++++ b/src/lua.h
+@@ -79,7 +79,7 @@ typedef void * (*lua_Alloc) (void *ud, v
+ * not acceptable for 5.1, maybe 5.2 onwards?
+ * 9: greater than existing (5.1) type values.
+ */
+-#define LUA_TINT (-2)
++#define LUA_TINT 9
+
+ #define LUA_TNIL 0
+ #define LUA_TBOOLEAN 1