aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-07-30 03:24:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-07-30 03:24:07 +0800
commitdc2d6081acdca8aa68bcb9c5a57a029ce51f5193 (patch)
treec510369cc088df007d678d0969e4351969abec20 /graphics
parent0ab96fb33a18e603740f6bc85e20af1d93eed658 (diff)
downloadfreebsd-ports-gnome-dc2d6081acdca8aa68bcb9c5a57a029ce51f5193.tar.gz
freebsd-ports-gnome-dc2d6081acdca8aa68bcb9c5a57a029ce51f5193.tar.zst
freebsd-ports-gnome-dc2d6081acdca8aa68bcb9c5a57a029ce51f5193.zip
Add preliminary FreeBSD support to fix multimedia/py-moviepy
- Bump PORTREVISION for package change PR: 227363 Reported by: yuri Reference: https://github.com/Zulko/moviepy/issues/756 https://github.com/sunpoet/imageio/commit/0a4562bfee1efd7ccb95a98f16ad1519dc2e2f63
Diffstat (limited to 'graphics')
-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
+