diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-05-13 00:58:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:58:59 +0200 |
commit | eac700bacbf832b6899d0adeb6ef1ee4acb79967 (patch) | |
tree | dc91fa4dcdd229de60979d5946770042beda5adf /libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff | |
parent | 0c91a2e1a8826be4f48cda754fb9a833cd012e66 (diff) | |
download | slackbuilds-eac700bacbf832b6899d0adeb6ef1ee4acb79967.tar.gz |
libraries/libvmime-zarafa: Added to 13.0 repository
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff')
-rw-r--r-- | libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff new file mode 100644 index 0000000000..9f8e723f65 --- /dev/null +++ b/libraries/libvmime-zarafa/zarafa-patches/vmime-charset-catch.diff @@ -0,0 +1,17 @@ +diff -Nurb libvmime-0.7.1.orig/src/word.cpp libvmime-0.7.1/src/word.cpp +--- libvmime-0.7.1.orig/src/word.cpp 2005-06-13 12:56:52.000000000 +0200 ++++ libvmime-0.7.1/src/word.cpp 2005-11-15 18:02:45.000000000 +0100 +@@ -688,7 +688,13 @@ + { + string out; + ++ try { + charset::convert(m_buffer, out, m_charset, dest); ++ } ++ catch (vmime::exception &e) { ++ // copy 'word' as text ++ out = m_buffer; ++ } + + return (out); + } |