diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-02-20 06:20:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-02-20 06:20:25 +0800 |
commit | 52eb0c363dbd39ca18828556aa6e06a0f55cdad1 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /x11/gnomepanel/files/patch-applets::gen_util::clock.c | |
parent | 02ae0012100b6d06fd4310bcc5e44198eaf8930e (diff) | |
download | marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.gz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.bz2 marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.lz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.xz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.zst marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.zip |
Remove the GNOME 2.1 ports. These have been merged into FreeBSD CVS
as GNOME 2.2....next up, GNOME 2.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@538 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnomepanel/files/patch-applets::gen_util::clock.c')
-rw-r--r-- | x11/gnomepanel/files/patch-applets::gen_util::clock.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/x11/gnomepanel/files/patch-applets::gen_util::clock.c b/x11/gnomepanel/files/patch-applets::gen_util::clock.c deleted file mode 100644 index 96f5d3f44..000000000 --- a/x11/gnomepanel/files/patch-applets::gen_util::clock.c +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- applets/gen_util/clock.c 2002/05/14 14:08:16 1.1 -+++ applets/gen_util/clock.c 2002/05/14 14:12:56 -@@ -14,7 +14,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> -@@ -684,7 +686,11 @@ - cd->hourformat = panel_applet_gconf_get_int (applet, KEY_HOUR_FORMAT, &error); - if (error || (cd->hourformat != 12 && cd->hourformat != 24)) { - /* if value is not valid, set it according to locale */ -+#ifdef HAVE_LANGINFO_H - const char *am = nl_langinfo (AM_STR); -+#else -+ const char *am = "AM"; -+#endif - cd->hourformat = (am[0] == '\0') ? 24 : 12; - - if (error) |