aboutsummaryrefslogtreecommitdiff
path: root/converters/py-iconv/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-12-22 12:32:05 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-12-22 12:32:05 +0000
commitfaf9bb0b7b174411db3f6de9407360b9aab790f2 (patch)
tree04ecbd071418d1c719033650f18f1c3dbb4ea8c5 /converters/py-iconv/files
parentf82a3729103c4f4b43c7b9b4bbe7ba3e41467210 (diff)
downloadports-faf9bb0b7b174411db3f6de9407360b9aab790f2.tar.gz
ports-faf9bb0b7b174411db3f6de9407360b9aab790f2.zip
Update to version 1.0
PR: 33076 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=51975
Diffstat (limited to 'converters/py-iconv/files')
-rw-r--r--converters/py-iconv/files/patch-iconvcodec.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/converters/py-iconv/files/patch-iconvcodec.py b/converters/py-iconv/files/patch-iconvcodec.py
new file mode 100644
index 000000000000..17d8681a4191
--- /dev/null
+++ b/converters/py-iconv/files/patch-iconvcodec.py
@@ -0,0 +1,15 @@
+--- iconvcodec.py.orig Sat Dec 22 08:04:10 2001
++++ iconvcodec.py Sat Dec 22 08:04:31 2001
+@@ -3,11 +3,7 @@
+ # First we need to find out what the Unicode code set name is
+ # in this iconv implementation
+
+-if sys.platform.startswith("linux"):
+- unicodename = "unicode"+sys.byteorder
+-else:
+- # may need to try UCS-2, UCS-2-LE/BE, Unicode, ...
+- raise ImportError,"cannot establish name of 2-byte Unicode"
++unicodename = "ucs-2-internal"
+
+ class Codec(codecs.Codec):
+ def __init__(self):