diff options
Diffstat (limited to 'textproc/py-libxml2/patches/patch-aa')
-rw-r--r-- | textproc/py-libxml2/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-libxml2/patches/patch-aa b/textproc/py-libxml2/patches/patch-aa new file mode 100644 index 00000000000..ff79943d85d --- /dev/null +++ b/textproc/py-libxml2/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $ + +--- libxml.py.orig 2003-12-25 00:17:24.000000000 -0600 ++++ libxml.py +@@ -278,7 +278,7 @@ class xmlCore: + # defined as python2 properties + # + import sys +- if float(sys.version[0:3]) < 2.2: ++ if float(sys.version[0:3].replace('p', '.')) < 2.2: + def __getattr__(self, attr): + if attr == "parent": + ret = libxml2mod.parent(self._o) |