summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-05-08 15:28:02 +0000
committerdrochner <drochner@pkgsrc.org>2010-05-08 15:28:02 +0000
commit046e30395738f89958c5c73ae52b5fa256488af1 (patch)
tree12a9c6279c5304fd9098c95054edb7915721a7d4
parentd303c179791b8b58a2d5f10e399b1409c693a4a6 (diff)
downloadpkgsrc-046e30395738f89958c5c73ae52b5fa256488af1.tar.gz
add a patch originating from eric4 (the IDE) which supposedly fixes
a problem with foreign characters bump PKGREVISION
-rw-r--r--textproc/py-xml/Makefile4
-rw-r--r--textproc/py-xml/distinfo3
-rw-r--r--textproc/py-xml/patches/patch-ad12
3 files changed, 16 insertions, 3 deletions
diff --git a/textproc/py-xml/Makefile b/textproc/py-xml/Makefile
index 9a82ed1a47f..ece83b3846e 100644
--- a/textproc/py-xml/Makefile
+++ b/textproc/py-xml/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.17 2009/03/05 18:51:32 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2010/05/08 15:28:02 drochner Exp $
#
DISTNAME= PyXML-0.8.4
PKGNAME= ${PYPKGPREFIX}-xml-0.8.4
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyxml/}
diff --git a/textproc/py-xml/distinfo b/textproc/py-xml/distinfo
index 6802b9527e4..44fac0d5a55 100644
--- a/textproc/py-xml/distinfo
+++ b/textproc/py-xml/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2009/06/04 09:31:04 hasso Exp $
+$NetBSD: distinfo,v 1.5 2010/05/08 15:28:02 drochner Exp $
SHA1 (PyXML-0.8.4.tar.gz) = 6f30d5907b75ef76809c19e0103d78f4a5fb027c
RMD160 (PyXML-0.8.4.tar.gz) = 976e618d99fb29840e36eb2c7662c1d0a1f2bca9
@@ -6,3 +6,4 @@ Size (PyXML-0.8.4.tar.gz) = 734954 bytes
SHA1 (patch-aa) = 51af9ee51699a9a17ebaf000aba3aba5cb07fd94
SHA1 (patch-ab) = 93ab4c0fa3fca80e8683c454c5fa7f589fe14823
SHA1 (patch-ac) = 4f9711c695c8ed8c2197373ad31f1459afea1eb0
+SHA1 (patch-ad) = 42f9eef560357204d282f833e5f3f37a81e0de74
diff --git a/textproc/py-xml/patches/patch-ad b/textproc/py-xml/patches/patch-ad
new file mode 100644
index 00000000000..37fe641503a
--- /dev/null
+++ b/textproc/py-xml/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2010/05/08 15:28:02 drochner Exp $
+
+--- xml/parsers/xmlproc/xmlutils.py.orig 2002-09-13 15:37:17.000000000 +0000
++++ xml/parsers/xmlproc/xmlutils.py
+@@ -720,6 +720,7 @@ class XMLCommonParser(EntityParser):
+ # to the recoding.
+ try:
+ self.data = self.charset_converter(self.data)
++ self.datasize = len(self.data)
+ except UnicodeError, e:
+ self._handle_decoding_error(self.data, e)
+ self.input_encoding = enc1