Package: spim
Version: 7.1-1
Severity: serious
Tags: patch

When building 'spim' on unstable, I get the following error:

make[2]: Entering directory `/spim-7.1'
gcc -O2      -I/usr/X11R6/include    -Dlinux -D__amd64__ 
-D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE    
                                                          -DFUNCPROTO=15 
-DNARROWPROTO   `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 
-DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER=\"/usr/lib/spim/exceptions.s\" 
-DSPIM_VERSION="\"`cat VERSION`\""    -c -o spim.o spim.c
spim.c:114: error: static declaration of 'exception_file_name' follows 
non-static declaration
spim.h:232: error: previous declaration of 'exception_file_name' was here
make[2]: *** [spim.o] Error 1
make[2]: Leaving directory `/spim-7.1'

With the attached patch 'spim' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/spim-7.1/spim.c ./spim.c
--- ../tmp-orig/spim-7.1/spim.c 2005-01-03 00:03:50.000000000 +0000
+++ ./spim.c    2005-09-01 19:05:46.000000000 +0000
@@ -111,7 +111,7 @@
 
 /* Non-zero => load standard exception handler */
 static int load_exception_handler = 1;
-static char *exception_file_name = DEFAULT_EXCEPTION_HANDLER;
+char *exception_file_name = DEFAULT_EXCEPTION_HANDLER;
 static int console_state_saved;
 #ifdef USE_TERMIOS
 static struct termios saved_console_state;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to