diff options
Diffstat (limited to 'graphics/py-blockdiag/files')
-rw-r--r-- | graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py | 6 | ||||
-rw-r--r-- | graphics/py-blockdiag/files/patch-src_blockdiag_noderenderer_____init____.py | 10 |
2 files changed, 13 insertions, 3 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 index 672142f5b886..1a3097795e4b 100644 --- a/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py +++ b/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py @@ -1,6 +1,6 @@ ---- src/blockdiag/utils/bootstrap.py.orig 2014-11-21 02:20:16 UTC +--- src/blockdiag/utils/bootstrap.py.orig 2020-02-01 09:48:17 UTC +++ src/blockdiag/utils/bootstrap.py -@@ -254,11 +254,7 @@ class Options(object): +@@ -255,11 +255,7 @@ class Options(object): def detectfont(options): import glob fontdirs = [ @@ -9,7 +9,7 @@ - '/System/Library/Fonts', - 'c:/windows/fonts', - '/usr/local/share/font-*', -+ '%%LOCALBASE%%/share/font-*', ++ '/usr/local/share/fonts', ] fontfiles = [ 'ipagp.ttf', diff --git a/graphics/py-blockdiag/files/patch-src_blockdiag_noderenderer_____init____.py b/graphics/py-blockdiag/files/patch-src_blockdiag_noderenderer_____init____.py new file mode 100644 index 000000000000..a83aaadab925 --- /dev/null +++ b/graphics/py-blockdiag/files/patch-src_blockdiag_noderenderer_____init____.py @@ -0,0 +1,10 @@ +--- src/blockdiag/noderenderer/__init__.py.orig 2020-01-13 09:55:52 UTC ++++ src/blockdiag/noderenderer/__init__.py +@@ -16,6 +16,7 @@ + from __future__ import division + + import pkg_resources ++from blockdiag.noderenderer.base import NodeShape # NOQA: backward compatibility + + renderers = {} + searchpath = [] |