Thanks, i'll apply it. Does anybody knows how it works with other BSDs ?
laurent Tue, 24 Apr 2007 14:37:33 +0200, Massimiliano Calamelli <[EMAIL PROTECTED]> wrote : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, this small patch sets alarm module buildable under > FreeBSD: i've just commented two occurrence of timezone (extern long > timezone) that it seems to be unused. The FreeBSD implementation of > timezone (/usr/include/time.h) isn't the same of Linux. > > I think to be able to release (in a few days) a patch for easy_e17 to > set usable on FreeBSD. > > Please apply, if it's correct! > > > - --- e_mod_main.c Mon Apr 23 11:57:56 2007 > +++ e_mod_main.c.my Mon Apr 23 11:49:26 2007 > @@ -702,7 +702,7 @@ > static double > _epoch_find_date(char *date, int hour, int minute) > { > - - extern long timezone; > + //extern long timezone; > extern int daylight; > struct tm ts; > time_t t; > @@ -737,7 +737,7 @@ > static double > _epoch_find_next(int day_monday, int day_tuesday, int day_wenesday, > int day_thursday, int day_friday, int day_saturday, int day_sunday, > int hour, int minute) { > - - extern long timezone; > + //extern long timezone; > extern int daylight; > int day_week[7]; > struct tm ts; > > > Massimiliano > - -- > Massimiliano Calamelli > http://mcalamelli.netsons.org > [EMAIL PROTECTED] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (MingW32) > > iD8DBQFGLfoNleGEL56NNP4RAt7LAJ9auvr6lNCl6o1Y47jNNsQ0hjA3uwCfY2H2 > 540MjyvdRHB3SGu/wrvtlLY= > =fX8L > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel