diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
| commit | 9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch) | |
| tree | 370db60ffdc2ef840b7d1124d5a392f93bba3c9d /makfa/patches/01-path.patch | |
| download | qipackages-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/01-path.patch')
| -rw-r--r-- | makfa/patches/01-path.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/makfa/patches/01-path.patch b/makfa/patches/01-path.patch new file mode 100644 index 0000000..2be15e8 --- /dev/null +++ b/makfa/patches/01-path.patch @@ -0,0 +1,22 @@ +diff --git a/makfa b/makfa +index 488007e..a19a5c8 100755 +--- a/makfa ++++ b/makfa +@@ -485,7 +485,7 @@ class Type(Command): + + class Updater(object): + +- def __init__(self, lang='en', filename=os.path.expanduser('~/makfa.dump')): ++ def __init__(self, lang='en', filename='/usr/share/makfa/makfa.dump'): + self.db = {'order': [], 'entries': {}} + url = 'http://jbovlaste.lojban.org/export/xml-export.html?lang=%s' + tree = etree.parse(urllib.urlopen(url % lang)) +@@ -615,7 +615,7 @@ class Filter(object): + + class Dictionary(object): + +- def __init__(self, filename=os.path.expanduser('~/makfa.dump')): ++ def __init__(self, filename='/usr/share/makfa/makfa.dump'): + try: + self._db = pickle.load(open(filename)) + except: |
