summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--time/xfce4-orage/Makefile4
-rw-r--r--time/xfce4-orage/distinfo3
-rw-r--r--time/xfce4-orage/patches/patch-aa27
3 files changed, 31 insertions, 3 deletions
diff --git a/time/xfce4-orage/Makefile b/time/xfce4-orage/Makefile
index e75c33a274b..f55c6b3d0e4 100644
--- a/time/xfce4-orage/Makefile
+++ b/time/xfce4-orage/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/09/14 11:02:52 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2010/10/01 19:44:02 drochner Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -6,7 +6,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
DISTNAME= orage-${XFCE4_VERSION}
PKGNAME= xfce4-orage-${XFCE4_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= time
COMMENT= Xfce time managing application
diff --git a/time/xfce4-orage/distinfo b/time/xfce4-orage/distinfo
index 6379138d03f..e45f9138b14 100644
--- a/time/xfce4-orage/distinfo
+++ b/time/xfce4-orage/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/09/16 01:15:34 reed Exp $
+$NetBSD: distinfo,v 1.5 2010/10/01 19:44:02 drochner Exp $
SHA1 (orage-4.6.1.tar.bz2) = 2db15404197ef9aa6f588c0eebac9fc4f68426df
RMD160 (orage-4.6.1.tar.bz2) = 7724992e2e177487c71597a15d7faf7f865bb56b
Size (orage-4.6.1.tar.bz2) = 1937593 bytes
+SHA1 (patch-aa) = 443913928b351028d34bdd07cb6cf60006f60e25
diff --git a/time/xfce4-orage/patches/patch-aa b/time/xfce4-orage/patches/patch-aa
new file mode 100644
index 00000000000..66a1c547d64
--- /dev/null
+++ b/time/xfce4-orage/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1 2010/10/01 19:44:02 drochner Exp $
+
+--- src/tray_icon.c.orig 2009-04-14 22:58:27.000000000 +0000
++++ src/tray_icon.c
+@@ -198,12 +198,16 @@ GdkPixbuf *orage_create_icon(gboolean st
+ orage_message(110, "trayicon: heading does not fit in dynamic icon");
+
+ /* month */
+- if (strftime(month, 19, "%^b", t) == 0) {
+- g_warning("orage_create_icon: strftime %%^b failed");
+- if (strftime(month, 19, "%b", t) == 0) {
+- g_warning("orage_create_icon: strftime %%b failed");
+- g_sprintf(month, "orage");
+- }
++ if (strftime(month, 19, "%b", t) == 0) {
++ g_warning("orage_create_icon: strftime %%b failed");
++ g_sprintf(month, "orage");
++ } else {
++ char *c = month;
++ month[19] = '\0';
++ while (*c) {
++ *c = toupper(*c);
++ c++;
++ }
+ }
+ g_snprintf(ts, 199
+ , "<span foreground=\"blue\" size=\"x-small\">%s</span>", month);