diff options
Diffstat (limited to 'debian/patches/unicode.patch')
-rw-r--r-- | debian/patches/unicode.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/unicode.patch b/debian/patches/unicode.patch new file mode 100644 index 0000000..5dd92aa --- /dev/null +++ b/debian/patches/unicode.patch @@ -0,0 +1,16 @@ +Description: Make sure input variable is unicode +Author: Luca Falavigna <dktrkranz@ubuntu.com + +Index: scons-doc-2.0.1/bin/scons-proc.py +=================================================================== +--- scons-doc-2.0.1.orig/bin/scons-proc.py 2011-05-25 20:08:30.011703884 +0000 ++++ scons-doc-2.0.1/bin/scons-proc.py 2011-05-25 20:08:42.501703874 +0000 +@@ -104,7 +104,7 @@ + content = content.replace('-->\n', '-->') + input = xml_preamble + content + xml_postamble + try: +- saxparser.parse(StringIO(input)) ++ saxparser.parse(StringIO(unicode(input))) + except: + sys.stderr.write("error in %s\n" % f) + raise |