From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- makfa/patches/01-path.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 makfa/patches/01-path.patch (limited to 'makfa/patches/01-path.patch') 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: -- cgit v1.2.3