Package: tome Version: 2.3.5-2 Tags: patch This workaround definitely does not work for me. The problem seems to stem from compile time issues, not runtime.
Adding -DLUA_NUM_TYPE=int to DEFINES in makefile.std make the errors go away. There is an example variation in makefile.std that shows this. Attached is a git patch generated with format-patch from your repository. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.26-1-amd64 Debian Release: lenny/sid --- Package information. --- Depends (Version) | Installed =======================================-+-==================== libc6 (>= 2.7-1) | 2.7-14 libncurses5 (>= 5.6+20071006-3) | 5.6+20080830-1 libsdl-gfx1.2-4 (>= 2.0.13) | 2.0.13-4 libsdl-image1.2 (>= 1.2.5) | 1.2.6-3 libsdl-mixer1.2 (>= 1.2.6) | 1.2.8-4 libsdl-net1.2 | 1.2.7-2 libsdl-ttf2.0-0 | 2.0.9-1 libsdl1.2debian (>= 1.2.10-1) | 1.2.13-2 libx11-6 | 2:1.1.5-2 libxaw7 | 2:1.0.4-2 libxmu6 | 2:1.0.4-1 libxt6 | 1:1.0.5-3 -- Daniel White
>From 11d58a3c13e51104c2db1c5cf7d7e6da58dc50cd Mon Sep 17 00:00:00 2001 From: Daniel White <[EMAIL PROTECTED]> Date: Thu, 16 Oct 2008 15:26:13 +1000 Subject: [PATCH] Specify LUA_NUM_TYPE as int for 64-bit hosts This addresses errors in various LUA scripts on 64-bit machines. Signed-off-by: Daniel White <[EMAIL PROTECTED]> --- src/makefile.std | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/makefile.std b/src/makefile.std index 50930e9..0d4705f 100644 --- a/src/makefile.std +++ b/src/makefile.std @@ -136,6 +136,9 @@ LIBS = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lncurses -ltermcap \ $(shell sdl-config --libs) -lSDL_image -lSDL_ttf -lSDL_gfx \ -lSDL_net -lSDL_mixer +ifeq ($(DEB_HOST_ARCH),amd64) + DEFINES += -DLUA_NUM_TYPE=int +endif ## ## Variation -- Only support "main-gtk2.c" (not "main-gcu.c, main-x11.c") -- 1.6.0.2.307.gc4275