diff options
author | Tim Harder <radhermit@gentoo.org> | 2010-11-15 02:37:54 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2010-11-15 02:37:54 +0000 |
commit | ce4ae6dcc508b6c1df182aefa5cef7dcbe8477c3 (patch) | |
tree | 85cabe7f45896f86946dea861105d8ad56946ceb /mail-client/cone/files | |
parent | Fix building with Python 3.1.3 (bug #344823). (diff) | |
download | historical-ce4ae6dcc508b6c1df182aefa5cef7dcbe8477c3.tar.gz historical-ce4ae6dcc508b6c1df182aefa5cef7dcbe8477c3.tar.bz2 historical-ce4ae6dcc508b6c1df182aefa5cef7dcbe8477c3.zip |
Fix the MIME testsuite for systems without the en_US.utf-8 locale.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'mail-client/cone/files')
-rw-r--r-- | mail-client/cone/files/cone-0.84.20100819-rfc2045-tests-lang.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mail-client/cone/files/cone-0.84.20100819-rfc2045-tests-lang.patch b/mail-client/cone/files/cone-0.84.20100819-rfc2045-tests-lang.patch new file mode 100644 index 000000000000..aa00d553b259 --- /dev/null +++ b/mail-client/cone/files/cone-0.84.20100819-rfc2045-tests-lang.patch @@ -0,0 +1,41 @@ +--- cone-0.84.20100819/rfc2045/testsuite.orig 2010-11-14 13:37:06.025969423 -0800 ++++ cone-0.84.20100819/rfc2045/testsuite 2010-11-14 13:37:23.489105624 -0800 +@@ -56,7 +56,7 @@ + + --aaa--- + EOF +-LANG=en_US.utf-8 ./reformime -i <testsuite.dat | sed 's/^charset:.*/charset: iso-8859-1/' ++./reformime -i <testsuite.dat | sed 's/^charset:.*/charset: iso-8859-1/' + + echo "foo" >confmdtest + +@@ -65,7 +65,7 @@ + ./makemime -c application/octet-stream -C utf-8 -N footest:1 confmdtest + ./makemime -c application/octet-stream -C utf-8 -N f:::::::::::::::::::::::::1 confmdtest + +-LANG=en_US.utf-8 ./reformime -h '=?iso-8859-1?Q?H=F3la!?= test =?iso-8859-1?Q?H=F3la!_?= =?iso-8859-1?Q?H=F3la!?= test' ++./reformime -h '=?iso-8859-1?Q?H=F3la!?= test =?iso-8859-1?Q?H=F3la!_?= =?iso-8859-1?Q?H=F3la!?= test' + rm -f confmdtest + + cat >testsuite.dat <<EOF +@@ -77,13 +77,13 @@ + + testing + EOF +-LANG=en_US.utf-8 ./reformime -i <./testsuite.dat +-LANG=en_US.utf-8 ./reformime -H '=?iso-8859-1?Q?H=F3la!?= test <test1@example.com>' +-LANG=en_US.utf-8 ./reformime -H '=?iso-8859-1?Q?H=F3la=22?= test <test1@example.com>' +-LANG=en_US.utf-8 ./reformime -O 'Hóla <user@Hóla.example.com>, user@example.com (Hóla), John Smith <user@example.com>, user2@example.com, "John Smith (Accounting)" <user3@example.com>, "Hóla Smith (Accounting)" <user4@example.com>, john smith <user@hóla.example.com>' ++./reformime -i <./testsuite.dat ++./reformime -H '=?iso-8859-1?Q?H=F3la!?= test <test1@example.com>' ++./reformime -H '=?iso-8859-1?Q?H=F3la=22?= test <test1@example.com>' ++./reformime -O 'Hóla <user@Hóla.example.com>, user@example.com (Hóla), John Smith <user@example.com>, user2@example.com, "John Smith (Accounting)" <user3@example.com>, "Hóla Smith (Accounting)" <user4@example.com>, john smith <user@hóla.example.com>' + +-LANG=en_US.utf-8 ./reformime -H '=?UTF-8?B?SMOzbGE=?= <user@xn--hla-gna.example.com>, =?UTF-8?B?SMOzbGE=?= <user@example.com>, John Smith <user@example.com>, user2@example.com, "John Smith (Accounting)" <user3@example.com>, =?UTF-8?B?SMOzbGE=?= Smith =?UTF-8?B?KEFjY291bnRpbmcp?= <user4@example.com>, john smith <user@xn--hla-gna.example.com>' ++./reformime -H '=?UTF-8?B?SMOzbGE=?= <user@xn--hla-gna.example.com>, =?UTF-8?B?SMOzbGE=?= <user@example.com>, John Smith <user@example.com>, user2@example.com, "John Smith (Accounting)" <user3@example.com>, =?UTF-8?B?SMOzbGE=?= Smith =?UTF-8?B?KEFjY291bnRpbmcp?= <user4@example.com>, john smith <user@xn--hla-gna.example.com>' + +-LANG=en_US.utf-8 ./reformime -H 'list: address1 <address1@example.com>, address2 <address2@example.com>;' ++./reformime -H 'list: address1 <address1@example.com>, address2 <address2@example.com>;' + +-LANG=en_US.utf-8 ./reformime -O 'list: address1 <address1@example.com>, address2 <address2@example.com>;' ++./reformime -O 'list: address1 <address1@example.com>, address2 <address2@example.com>;' |