summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-10-17 20:03:14 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-10-17 20:03:14 +0000
commit4fc13b246c0c03c26c10c421c63c33331aa57d85 (patch)
tree82f8ceea42ace9c0512b6073935e4bd9c3d14f7a /packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff
parentSmall warning cleanup (diff)
parentPort inkscape to librevenge framework for WPG, CDR and VSD imports (diff)
downloadinkscape-4fc13b246c0c03c26c10c421c63c33331aa57d85.tar.gz
inkscape-4fc13b246c0c03c26c10c421c63c33331aa57d85.zip
Update to trunk r13621
(bzr r13341.1.278)
Diffstat (limited to 'packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff')
-rw-r--r--packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff b/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff
new file mode 100644
index 000000000..541935e71
--- /dev/null
+++ b/packaging/macosx/ports/python/py-sk1libs/files/patch-src-utils-fs.py.diff
@@ -0,0 +1,26 @@
+--- src/utils/fs.py.orig 2010-05-23 12:46:21.000000000 +0200
++++ src/utils/fs.py 2013-01-18 15:40:02.000000000 +0100
+@@ -220,8 +220,14 @@
+ finally:
+ _winreg.CloseKey( k )
+ if system.get_os_family()==system.MACOSX:
+- #FIXME: It's a stub. The paths should be more exact.
+- return ['/',]
++ return ['__PREFIX__/share/fonts',
++ '/usr/share/fonts',
++ '/opt/X11/lib/X11/fonts',
++ '/System/Library/Fonts',
++ '/Network/Library/Fonts',
++ '/Library/Fonts',
++ os.path.expanduser("~/Library/Fonts"),
++ os.path.expanduser("~/.fonts")]
+
+
+ DIRECTORY_OBJECT=0
+@@ -311,4 +317,4 @@
+ if __name__ == '__main__':
+ _test()
+
+-
+\ No newline at end of file
++