diff options
author | Jonathan Callen <abcd@gentoo.org> | 2011-12-12 01:09:42 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2011-12-12 01:09:42 +0000 |
commit | 3dee9804cb8fec151fc990eb0839d4d3386a52bd (patch) | |
tree | ee1ce9006487339ab46cc4c56a2d40311b3cfe67 /kde-base | |
parent | rm old files (diff) | |
download | gentoo-2-3dee9804cb8fec151fc990eb0839d4d3386a52bd.tar.gz gentoo-2-3dee9804cb8fec151fc990eb0839d4d3386a52bd.tar.bz2 gentoo-2-3dee9804cb8fec151fc990eb0839d4d3386a52bd.zip |
rm old files
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdepimlibs/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdepimlibs/files/kdepimlibs-4.6.2-encoding.patch | 41 |
2 files changed, 5 insertions, 42 deletions
diff --git a/kde-base/kdepimlibs/ChangeLog b/kde-base/kdepimlibs/ChangeLog index cbe6a0b52137..244c669784b4 100644 --- a/kde-base/kdepimlibs/ChangeLog +++ b/kde-base/kdepimlibs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdepimlibs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepimlibs/ChangeLog,v 1.119 2011/12/11 18:52:21 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepimlibs/ChangeLog,v 1.120 2011/12/12 01:09:42 abcd Exp $ + + 12 Dec 2011; Jonathan Callen <abcd@gentoo.org> + -files/kdepimlibs-4.6.2-encoding.patch: + rm old files *kdepimlibs-4.7.4 (11 Dec 2011) diff --git a/kde-base/kdepimlibs/files/kdepimlibs-4.6.2-encoding.patch b/kde-base/kdepimlibs/files/kdepimlibs-4.6.2-encoding.patch deleted file mode 100644 index 7630a8c119fe..000000000000 --- a/kde-base/kdepimlibs/files/kdepimlibs-4.6.2-encoding.patch +++ /dev/null @@ -1,41 +0,0 @@ -commit 6d80788587894ee0cf3e087f959226a3d764af95 -Author: Thomas McGuire <mcguire@kde.org> -Date: Sat Apr 16 21:56:01 2011 +0100 - - Use UTF-8 if the charset can't encode the string. - - Hopefully the call to canEncode() won't affect the performance too - much... - - BUG: 263761 - (cherry picked from commit 7b75f8a769ef0e40e59dedb1327ff0ed51e63ba9) - -diff --git a/kmime/kmime_util.cpp b/kmime/kmime_util.cpp -index 29ea676..ab1906c 100644 ---- a/kmime/kmime_util.cpp -+++ b/kmime/kmime_util.cpp -@@ -287,6 +287,11 @@ QByteArray encodeRFC2047String( const QString &src, const QByteArray &charset, - usedCS = charset; - } - -+ if ( !codec->canEncode( src ) ) { -+ usedCS = "utf-8"; -+ codec = QTextCodec::codecForName( usedCS ); -+ } -+ - if ( usedCS.contains( "8859-" ) ) { // use "B"-Encoding for non iso-8859-x charsets - useQEncoding = true; - } -diff --git a/kmime/kmime_util.h b/kmime/kmime_util.h -index 84c061e..ebe2a38 100644 ---- a/kmime/kmime_util.h -+++ b/kmime/kmime_util.h -@@ -165,7 +165,7 @@ KMIME_EXPORT extern QString decodeRFC2047String( const QByteArray &src ); - Encodes string @p src according to RFC2047 using charset @p charset. - - @param src source string. -- @param charset charset to use. -+ @param charset charset to use. If it can't encode the string, UTF-8 will be used instead. - @param addressHeader if this flag is true, all special chars - like <,>,[,],... will be encoded, too. - @param allow8bitHeaders if this flag is true, 8Bit headers are allowed. |