c4851e78e4
ever. It fixes many bugs, and adds some features missing in previous FreeBSD ports. To help users upgrade from GNOME 2.4, we have constructed an upgrade FAQ at: http://www.freebsd.org/gnome/docs/faq26.html Please read it carefully. GNOME 2.6 packages are also available for all supported i386 versions of FreeBSD at: http://www.marcuscom.com/tinderbox/ The FreeBSD GNOME Team would like the thank the following users for their wonderful testing and patching efforts. We would especially like to thank Franz Klammer <klammer@webonaut.com> for his wonderful new splash screen. Without these people, our team, and our team alumni, GNOME on FreeBSD would not be possible. Jeremy Messenger <mezz7@cox.net> Khairil Yusof <kaeru@pd.jaring.my> Koop Mast <kwm@rainbow-runner.nl> Simon Barner <barner@in.tum.de> Tom McLaughlin <tmclaugh@sdf.lonestar.org> Scott Dodson <sdodson@sdodson.com> Vladimir Grebenschikov <vova@sw.ru>
24 lines
516 B
C
24 lines
516 B
C
--- applets/clock/clock.c.orig Tue Jan 13 11:55:58 2004
|
|
+++ applets/clock/clock.c Wed Jan 14 15:43:39 2004
|
|
@@ -47,7 +47,9 @@
|
|
#include <dirent.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
+#ifdef HAVE_LANGINFO_H
|
|
#include <langinfo.h>
|
|
+#endif
|
|
|
|
#include <panel-applet.h>
|
|
#include <panel-applet-gconf.h>
|
|
@@ -539,7 +541,11 @@
|
|
{
|
|
const char *am;
|
|
|
|
+#ifdef HAVE_LANGINFO_H
|
|
am = nl_langinfo (AM_STR);
|
|
+#else
|
|
+ am = "AM";
|
|
+#endif
|
|
return (am[0] == '\0') ? CLOCK_FORMAT_24 : CLOCK_FORMAT_12;
|
|
}
|
|
|