diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2015-09-03 20:14:25 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2015-09-03 20:14:25 +0800 |
commit | 5e257bf967e58cb7613234596c16312603ebc16a (patch) | |
tree | 2272cfd9d59d208c95f9bdad7d082f96ea02989e /mail | |
parent | 3c84add98ac82eda070e432f3a92aedfb43dc669 (diff) | |
download | freebsd-ports-gnome-5e257bf967e58cb7613234596c16312603ebc16a.tar.gz freebsd-ports-gnome-5e257bf967e58cb7613234596c16312603ebc16a.tar.zst freebsd-ports-gnome-5e257bf967e58cb7613234596c16312603ebc16a.zip |
Updated patch to fix breakage on platforms with a 64 bit time_t. This fixes a
regression that was introduced with r391392.
PR: 202832
Submitted by: yamagi@yamagi.org
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sylpheed/Makefile | 1 | ||||
-rw-r--r-- | mail/sylpheed/files/extra-patch-libsylph_ssl.c | 8 | ||||
-rw-r--r-- | mail/sylpheed/files/patch-libsylph-defs.h | 8 | ||||
-rw-r--r-- | mail/sylpheed/files/patch-libsylph_procmsg.c | 6 | ||||
-rw-r--r-- | mail/sylpheed/files/patch-src-printing.c | 10 |
5 files changed, 18 insertions, 15 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile index 0c9bd240b5d7..1abe90f1e364 100644 --- a/mail/sylpheed/Makefile +++ b/mail/sylpheed/Makefile @@ -3,6 +3,7 @@ PORTNAME= sylpheed PORTVERSION= 3.4.3 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \ LOCAL/ehaupt diff --git a/mail/sylpheed/files/extra-patch-libsylph_ssl.c b/mail/sylpheed/files/extra-patch-libsylph_ssl.c index 9284d2574940..ab8fcb9b8fc7 100644 --- a/mail/sylpheed/files/extra-patch-libsylph_ssl.c +++ b/mail/sylpheed/files/extra-patch-libsylph_ssl.c @@ -1,6 +1,6 @@ ---- libsylph/ssl.c.orig 2014-06-10 06:06:36.000000000 +0200 -+++ libsylph/ssl.c 2015-02-16 16:38:30.082429979 +0100 -@@ -59,6 +59,7 @@ +--- libsylph/ssl.c.orig 2014-06-10 04:06:36 UTC ++++ libsylph/ssl.c +@@ -59,6 +59,7 @@ static gchar *find_certs_file(const gcha LOOK_FOR("ca-bundle.crt"); LOOK_FOR("ca-root.crt"); LOOK_FOR("certs.crt"); @@ -8,7 +8,7 @@ } #undef LOOK_FOR -@@ -117,7 +118,7 @@ +@@ -117,7 +118,7 @@ void ssl_init(void) certs_dir = NULL; } #else diff --git a/mail/sylpheed/files/patch-libsylph-defs.h b/mail/sylpheed/files/patch-libsylph-defs.h index 7881004694d3..39b78aa5a050 100644 --- a/mail/sylpheed/files/patch-libsylph-defs.h +++ b/mail/sylpheed/files/patch-libsylph-defs.h @@ -1,6 +1,6 @@ ---- libsylph/defs.h.orig Tue Sep 13 16:55:49 2005 -+++ libsylph/defs.h Mon Sep 19 03:23:15 2005 -@@ -81,8 +81,8 @@ +--- libsylph/defs.h.orig 2014-06-10 04:06:36 UTC ++++ libsylph/defs.h +@@ -89,8 +89,8 @@ #else # define DEFAULT_SIGNATURE ".signature" #endif @@ -11,7 +11,7 @@ /* #define DEFAULT_INC_PATH "/usr/bin/imget" */ /* #define DEFAULT_INC_PROGRAM "imget" */ #define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t -i" -@@ -91,7 +91,7 @@ +@@ -103,7 +103,7 @@ #ifdef _PATH_MAILDIR # define DEFAULT_SPOOL_PATH _PATH_MAILDIR #else diff --git a/mail/sylpheed/files/patch-libsylph_procmsg.c b/mail/sylpheed/files/patch-libsylph_procmsg.c index 981fe96c9ec1..5ec92b21090f 100644 --- a/mail/sylpheed/files/patch-libsylph_procmsg.c +++ b/mail/sylpheed/files/patch-libsylph_procmsg.c @@ -9,12 +9,14 @@ *p += sizeof(len); if (len > G_MAXINT || len > endp - *p) return -1; -@@ -197,7 +197,7 @@ static gint procmsg_read_cache_data_str_ +@@ -197,7 +197,9 @@ static gint procmsg_read_cache_data_str_ g_mapped_file_free(mapfile); \ return NULL; \ } else { \ - n = *(const guint32 *)p; \ -+ memcpy(&n, p, sizeof(n)); \ ++ guint32 v; \ ++ memcpy(&v, p, sizeof(v)); \ ++ n = v; \ p += sizeof(guint32); \ } \ } diff --git a/mail/sylpheed/files/patch-src-printing.c b/mail/sylpheed/files/patch-src-printing.c index f13f0b756bfd..3e063d98544d 100644 --- a/mail/sylpheed/files/patch-src-printing.c +++ b/mail/sylpheed/files/patch-src-printing.c @@ -1,6 +1,6 @@ ---- src/printing.c.orig Wed Dec 27 15:50:14 2006 -+++ src/printing.c Wed Dec 27 16:28:28 2006 -@@ -149,8 +149,6 @@ +--- src/printing.c.orig 2014-06-10 04:06:36 UTC ++++ src/printing.c +@@ -151,8 +151,6 @@ static gint layout_set_headers(PangoLayo desc = pango_font_description_from_string(prefs_common_get()->textfont); size = pango_font_description_get_size(desc); @@ -9,9 +9,9 @@ pango_font_description_set_size(desc, size); pango_layout_set_font_description(layout, desc); pango_font_description_free(desc); -@@ -406,10 +404,6 @@ +@@ -417,10 +415,6 @@ static void draw_page(GtkPrintOperation } - g_print("count = %d\n", count); + debug_print("count = %d\n", count); - desc = gtkut_get_default_font_desc(); - pango_font_description_set_size(desc, font_size); |