diff options
Diffstat (limited to 'app-office/unoconv/files/unoconv-0.3-openoffice-3.2.patch')
-rw-r--r-- | app-office/unoconv/files/unoconv-0.3-openoffice-3.2.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-office/unoconv/files/unoconv-0.3-openoffice-3.2.patch b/app-office/unoconv/files/unoconv-0.3-openoffice-3.2.patch new file mode 100644 index 000000000..c45ae6c88 --- /dev/null +++ b/app-office/unoconv/files/unoconv-0.3-openoffice-3.2.patch @@ -0,0 +1,11 @@ +--- unoconv.~1~ 2007-09-01 03:23:13.000000000 +0200 ++++ unoconv 2010-04-03 12:09:13.703092418 +0200 +@@ -17,7 +17,7 @@ + import getopt, sys, os, glob, time + + #extrapaths = ('/usr/lib/openoffice/program/', '/usr/lib/openoffice.org2.0/program/') +-extrapaths = glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ] ++extrapaths = glob.glob('/usr/lib*/openoffice*/basis*/program/') + glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ] + for path in extrapaths: + try: + sys.path.append(path) |