summaryrefslogtreecommitdiff
path: root/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py')
-rw-r--r--graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py b/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
new file mode 100644
index 000000000000..22421d18ee64
--- /dev/null
+++ b/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
@@ -0,0 +1,15 @@
+--- src/blockdiag/utils/bootstrap.py.orig 2013-09-30 22:19:06.000000000 +0900
++++ src/blockdiag/utils/bootstrap.py 2014-01-02 16:19:04.000000000 +0900
+@@ -222,11 +222,7 @@
+ def detectfont(options):
+ import glob
+ fontdirs = [
+- '/usr/share/fonts',
+- '/Library/Fonts',
+- '/System/Library/Fonts',
+- 'c:/windows/fonts',
+- '/usr/local/share/font-*',
++ '%%LOCALBASE%%/share/font-*',
+ ]
+ fontfiles = [
+ 'ipagp.ttf',