summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-05-22 02:13:33 +0000
committerZac Medico <zmedico@gentoo.org>2009-05-22 02:13:33 +0000
commit029dc1848376d0d6bc2f5a28871cbf7b6f307232 (patch)
treef09eaa79f13ec1d72a732f164a4d3fc1de289492 /app-text/calibre/files
parentold (diff)
downloadgentoo-2-029dc1848376d0d6bc2f5a28871cbf7b6f307232.tar.gz
gentoo-2-029dc1848376d0d6bc2f5a28871cbf7b6f307232.tar.bz2
gentoo-2-029dc1848376d0d6bc2f5a28871cbf7b6f307232.zip
Bug #270746 - Fix UnicodeEncodeError for LANG=pl_PL.UTF-8. Also, change
libusb dep to specify slot 0 and note that libusb-compat is untested. (Portage version: 2.2_rc33_p13615/cvs/Linux i686)
Diffstat (limited to 'app-text/calibre/files')
-rw-r--r--app-text/calibre/files/bug_270746_UnicodeEncodeError.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch b/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch
new file mode 100644
index 000000000000..d5302fd252fc
--- /dev/null
+++ b/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch
@@ -0,0 +1,10 @@
+--- src/calibre/utils/help2man.py
++++ src/calibre/utils/help2man.py
+@@ -54,6 +54,6 @@
+ 'http://calibre.kovidgoyal.net/user_manual',
+ '.PP', '.B Created by '+__author__]
+
+- return bz2.compress('\n'.join(lines))
++ return bz2.compress(u'\n'.join(lines).encode('utf_8'))
+
+