summaryrefslogtreecommitdiff
path: root/makfa/patches/02-pyexpat.patch
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
commit9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch)
tree370db60ffdc2ef840b7d1124d5a392f93bba3c9d /makfa/patches/02-pyexpat.patch
downloadqipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.
Diffstat (limited to 'makfa/patches/02-pyexpat.patch')
-rw-r--r--makfa/patches/02-pyexpat.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/makfa/patches/02-pyexpat.patch b/makfa/patches/02-pyexpat.patch
new file mode 100644
index 0000000..47bf510
--- /dev/null
+++ b/makfa/patches/02-pyexpat.patch
@@ -0,0 +1,18 @@
+--- a/makfa 2010-09-14 20:40:00.000000000 -0600
++++ b/makfa 2010-09-14 20:37:31.000000000 -0600
+@@ -8,7 +8,6 @@
+ import sys
+ import textwrap
+ import urllib
+-import xml.etree.cElementTree as etree
+
+
+
+@@ -486,6 +485,7 @@
+ class Updater(object):
+
+ def __init__(self, lang='en', filename='/usr/share/makfa/makfa.dump'):
++ import xml.etree.cElementTree as etree
+ self.db = {'order': [], 'entries': {}}
+ url = 'http://jbovlaste.lojban.org/export/xml-export.html?lang=%s'
+ tree = etree.parse(urllib.urlopen(url % lang))