summaryrefslogtreecommitdiff
path: root/mail/sylpheed3
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-02-21 11:49:57 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-02-21 11:49:57 +0000
commit0d233803e064237bfa5779ddc5332327464eb006 (patch)
tree4892d3ccf45730d4d10f2c19fc2594b939e36445 /mail/sylpheed3
parentAdd possibility to switch vty's and suspend it while playing the (diff)
update to 1.9.3
add a patch which fixes non-7-bit-clean header handling
Notes
Notes: svn path=/head/; revision=129469
Diffstat (limited to 'mail/sylpheed3')
-rw-r--r--mail/sylpheed3/Makefile2
-rw-r--r--mail/sylpheed3/distinfo4
-rw-r--r--mail/sylpheed3/files/patch-src::codeconv.c24
3 files changed, 27 insertions, 3 deletions
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile
index 582a153ce3c2..b775faf6d3f3 100644
--- a/mail/sylpheed3/Makefile
+++ b/mail/sylpheed3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sylpheed
-PORTVERSION= 1.9.1
+PORTVERSION= 1.9.3
PORTREVISION= 0
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:mime/} \
diff --git a/mail/sylpheed3/distinfo b/mail/sylpheed3/distinfo
index 754a8cadd84b..85a95928124a 100644
--- a/mail/sylpheed3/distinfo
+++ b/mail/sylpheed3/distinfo
@@ -1,4 +1,4 @@
-MD5 (sylpheed/sylpheed-1.9.1.tar.bz2) = 3164a9db5a7a50902083fb3b05c486ae
-SIZE(sylpheed/sylpheed-1.9.1.tar.bz2) = 2303268
+MD5 (sylpheed/sylpheed-1.9.3.tar.bz2) = 975a6282ddbd5fe8e2d0ec7081631808
+SIZE(sylpheed/sylpheed-1.9.3.tar.bz2) = 2221199
MD5 (sylpheed/mime.types) = 7c0563d85e2e830c0266d54517ad62e8
SIZE(sylpheed/mime.types) = 14979
diff --git a/mail/sylpheed3/files/patch-src::codeconv.c b/mail/sylpheed3/files/patch-src::codeconv.c
new file mode 100644
index 000000000000..5946301287bf
--- /dev/null
+++ b/mail/sylpheed3/files/patch-src::codeconv.c
@@ -0,0 +1,24 @@
+--- src/codeconv.c.orig Mon Feb 21 12:46:21 2005
++++ src/codeconv.c Mon Feb 21 12:46:30 2005
+@@ -1577,8 +1577,20 @@
+ Xalloca(buf, buflen, return);
+ conv_anytodisp(buf, buflen, str);
+ unmime_header(outbuf, buf);
+- } else
++ } else {
++ gchar *tmp;
+ unmime_header(outbuf, str);
++ if (outbuf && !g_utf8_validate(outbuf, -1, NULL)) {
++ tmp = conv_codeset_strdup(outbuf,
++ conv_get_locale_charset_str(),
++ CS_UTF_8);
++ if (tmp) {
++ strncpy(outbuf, tmp, outlen-1);
++ g_free(tmp);
++ }
++ }
++ }
++
+ }
+
+ #define MAX_LINELEN 76