diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-03-06 12:36:03 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-03-06 12:36:03 +0800 |
commit | 727c7434eccbb09964beb9994d44b6989503d47a (patch) | |
tree | 688cf8ed9834c812bc38f7d88f299666b88df01d | |
parent | 590ae87b48390faf915cdb2e00d33edb461f369b (diff) | |
download | marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar.gz marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar.bz2 marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar.lz marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar.xz marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.tar.zst marcuscom-ports-727c7434eccbb09964beb9994d44b6989503d47a.zip |
Sync with FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12033 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | mail/evolution/Makefile | 3 | ||||
-rw-r--r-- | mail/evolution/files/patch-widgets_misc_e-calendar-item.c | 41 |
2 files changed, 43 insertions, 1 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index eecc7abd8..488e85498 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -3,11 +3,12 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/mail/evolution/Makefile,v 1.188 2009/02/22 14:51:52 kwm Exp $ +# $MCom: ports/mail/evolution/Makefile,v 1.189 2009/03/02 21:18:04 marcus Exp $ # PORTNAME= evolution PORTVERSION= 2.25.92 +PORTREVISION= 1 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/mail/evolution/files/patch-widgets_misc_e-calendar-item.c b/mail/evolution/files/patch-widgets_misc_e-calendar-item.c new file mode 100644 index 000000000..608bd9d3c --- /dev/null +++ b/mail/evolution/files/patch-widgets_misc_e-calendar-item.c @@ -0,0 +1,41 @@ +--- widgets/misc/e-calendar-item.c.orig 2009-03-05 23:32:14.000000000 -0500 ++++ widgets/misc/e-calendar-item.c 2009-03-05 23:32:28.000000000 -0500 +@@ -1505,12 +1505,12 @@ e_calendar_item_draw_day_numbers (ECalen + if (week_num >= 10) { + digit = week_num / 10; + text_x -= calitem->week_number_digit_widths[digit]; +- num_chars += sprintf (&buffer[num_chars], "%Id", digit); ++ num_chars += sprintf (&buffer[num_chars], "%d", digit); + } + + digit = week_num % 10; + text_x -= calitem->week_number_digit_widths[digit] + 6; +- num_chars += sprintf (&buffer[num_chars], "%Id", digit); ++ num_chars += sprintf (&buffer[num_chars], "%d", digit); + + cairo_save (cr); + gdk_cairo_set_source_color (cr, &style->text[GTK_STATE_ACTIVE]); +@@ -1618,12 +1618,12 @@ e_calendar_item_draw_day_numbers (ECalen + if (day_num >= 10) { + digit = day_num / 10; + day_x -= calitem->digit_widths[digit]; +- num_chars += sprintf (&buffer[num_chars], "%Id", digit); ++ num_chars += sprintf (&buffer[num_chars], "%d", digit); + } + + digit = day_num % 10; + day_x -= calitem->digit_widths[digit]; +- num_chars += sprintf (&buffer[num_chars], "%Id", digit); ++ num_chars += sprintf (&buffer[num_chars], "Id", digit); + + cairo_save (cr); + if (fg_color) { +@@ -1958,7 +1958,7 @@ e_calendar_item_recalc_sizes (ECalendar + gchar locale_digit[5]; + int locale_digit_len; + +- locale_digit_len = sprintf (locale_digit, "%Id", digit); ++ locale_digit_len = sprintf (locale_digit, "%d", digit); + + pango_layout_set_text (layout, locale_digit, locale_digit_len); + pango_layout_get_pixel_size (layout, &width, NULL); |