Package: xdelta
Severity: normal
Tags: patch

When building 'xdelta' on amd64 with gcc-4.0,
I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libedsio -I/usr/include/glib-1.2 
-I/usr/lib/glib/include  -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 
-Wall -c xdmain.c
xdmain.c:1444: error: static declaration of 'xd_handle_table' follows 
non-static declaration
xdmain.c:67: error: previous declaration of 'xd_handle_table' was here

With the attached patch 'xdelta' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xdelta-1.1.3/xdmain.c ./xdmain.c
--- ../tmp-orig/xdelta-1.1.3/xdmain.c   2001-09-24 08:59:18.000000000 +0200
+++ ./xdmain.c  2005-03-03 11:06:09.421149712 +0100
@@ -64,7 +64,7 @@
 
 #include "xdelta.h"
 
-extern HandleFuncTable xd_handle_table;
+static HandleFuncTable xd_handle_table;
 
 #define XD_PAGE_SIZE (1<<20)
 


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

Reply via email to