aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-11-09 15:10:11 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-11-09 15:10:11 +0000
commit4f23572566d6d1a65233b5c76c7bc9d0568b15be (patch)
tree2e6e48ac7d3a6b0c3304734a4ffdaf5384dc551b /textproc
parentaf83d72cf752a9057d613e86a194771d87c3adf3 (diff)
downloadports-4f23572566d6d1a65233b5c76c7bc9d0568b15be.tar.gz
ports-4f23572566d6d1a65233b5c76c7bc9d0568b15be.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-chardet/Makefile2
-rw-r--r--textproc/py-chardet/files/patch-escsm.py11
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile
index 1f6b660b65fa..a876ba87d9b3 100644
--- a/textproc/py-chardet/Makefile
+++ b/textproc/py-chardet/Makefile
@@ -6,7 +6,7 @@
PORTNAME= chardet
PORTVERSION= 1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= http://chardet.feedparser.org/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-chardet/files/patch-escsm.py b/textproc/py-chardet/files/patch-escsm.py
new file mode 100644
index 000000000000..330b6ce09b55
--- /dev/null
+++ b/textproc/py-chardet/files/patch-escsm.py
@@ -0,0 +1,11 @@
+--- chardet/escsm.py.orig Mon Nov 6 17:01:26 2006
++++ chardet/escsm.py Mon Nov 6 17:01:37 2006
+@@ -180,7 +180,7 @@
+ eError,eError,eError,eError,eItsMe,eError,eStart,eStart,# 40-47
+ )
+
+-ISO2022JPCharLenTable = (0, 0, 0, 0, 0, 0, 0, 0)
++ISO2022JPCharLenTable = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
+
+ ISO2022JPSMModel = {'classTable': ISO2022JP_cls,
+ 'classFactor': 10,