Package: evolution-data-server1.2 Version: 1.2.2-1 Severity: normal Tags: patch
When building 'evolution-data-server1.2' on amd64/unstable with gcc-4.0, I get the following error: cc -DHAVE_CONFIG_H -I. -I. -I../.. -DEVOLUTION_LOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"libecal\" -I../../calendar -I. -I../.. -I. -I.. -I../.. -I../../calendar/libical/src -I../../calendar/libical/src -I../../calendar/libical/src/libical -I../../calendar/libical/src/libical -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -g -Wall -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT e-cal.lo -MD -MP -MF .deps/e-cal.Tpo -c e-cal.c -fPIC -DPIC -o .libs/e-cal.o e-cal.c: In function 'reopen_with_auth': e-cal.c:893: warning: implicit declaration of function 'open_calendar' e-cal.c: At top level: e-cal.c:1495: error: static declaration of 'open_calendar' follows non-static declaration e-cal.c:893: error: previous implicit declaration of 'open_calendar' was here With the attached patch 'evolution-data-server1.2' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/evolution-data-server1.2-1.2.2/calendar/libecal/e-cal.c ./calendar/libecal/e-cal.c --- ../tmp-orig/evolution-data-server1.2-1.2.2/calendar/libecal/e-cal.c 2005-04-08 15:11:41.000000000 +0200 +++ ./calendar/libecal/e-cal.c 2005-04-14 08:26:45.344008726 +0200 @@ -156,6 +156,9 @@ +static gboolean open_calendar (ECal *ecal, gboolean only_if_exists, + GError **error, ECalendarStatus *status, gboolean needs_auth); + /* Error quark */ GQuark e_calendar_error_quark (void) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

