Re: [evolution-patches] FreeBSD7 timezone symbol incompatibility - widgets/e-timezone-dialog/e-timezone-dialog.c



In future, create a bug in Bugzilla and post your patch against the bug.
It helps us to track every incoming patch, in case something gets missed
out on emails.

Also, where do you have 'char * timezone(int zone, int dst);' declared?

-Srini.

On Wed, 2008-09-24 at 18:54 +0400, Roman Rybalko wrote:
> Hi All,
> 
> uname -a
> FreeBSD roma.home 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
> 19:59:52 UTC 2008    
> root logan cse buffalo edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> I can't compile the subj because I have another "timezone" symbol:
> char * timezone(int zone, int dst);
> 
> but in widgets/e-timezone-dialog/e-timezone-dialog.c is such code:
> #ifndef G_OS_WIN32 /* Declared properly in time.h already */
> extern char *tzname[2];
> extern long timezone;
> extern int daylight;
> #endif
> 
> I see this is defined correctly on Linux but it is not on FreeBSD.
> 
> I've attached my patch.
> Though there is probably need something to do with win32, because I
> don't know whether there is localtime_r and gmtime_r
> 
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-patches



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]