aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-imageio
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-07-29 19:24:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-07-29 19:24:07 +0000
commit358021c367b1e966233938002937c79d39633dbc (patch)
treec510369cc088df007d678d0969e4351969abec20 /graphics/py-imageio
parentde70c0d378dc6942d3496b7fd7d0edf163ee0306 (diff)
downloadports-358021c367b1e966233938002937c79d39633dbc.tar.gz
ports-358021c367b1e966233938002937c79d39633dbc.zip
Add preliminary FreeBSD support to fix multimedia/py-moviepy
Notes
Notes: svn path=/head/; revision=475820
Diffstat (limited to 'graphics/py-imageio')
-rw-r--r--graphics/py-imageio/files/patch-imageio-core-util.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/py-imageio/files/patch-imageio-core-util.py b/graphics/py-imageio/files/patch-imageio-core-util.py
new file mode 100644
index 000000000000..015a456f4f30
--- /dev/null
+++ b/graphics/py-imageio/files/patch-imageio-core-util.py
@@ -0,0 +1,11 @@
+--- imageio/core/util.py.orig
++++ imageio/core/util.py
+@@ -550,6 +550,8 @@ def get_platform():
+ plat = 'win%i'
+ elif sys.platform.startswith('darwin'):
+ plat = 'osx%i'
++ elif sys.platform.startswith('freebsd'):
++ plat = 'freebsd%i'
+ else: # pragma: no cover
+ return None
+