From 5c7b2bd039602ac98e892b5e6409d6ed7293c1ee Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Thu, 25 Feb 2021 18:54:50 +0000 Subject: Update a few openshot ports: * audio/libopenshot-audio: Update to 0.2.0.29 * multimedia/libopenshot: Update to 0.2.5.517 * multimedia/openshot: update to 2.5.1.732 PR: 253643, 253645, 253646 Submitted by: Tatsuki Makino (maintainer) --- multimedia/openshot/files/patch-src_classes_exceptions.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 multimedia/openshot/files/patch-src_classes_exceptions.py (limited to 'multimedia/openshot/files/patch-src_classes_exceptions.py') diff --git a/multimedia/openshot/files/patch-src_classes_exceptions.py b/multimedia/openshot/files/patch-src_classes_exceptions.py new file mode 100644 index 000000000000..b0f1169b5df1 --- /dev/null +++ b/multimedia/openshot/files/patch-src_classes_exceptions.py @@ -0,0 +1,11 @@ +--- src/classes/exceptions.py.orig 2021-01-30 23:50:27 UTC ++++ src/classes/exceptions.py +@@ -120,6 +120,8 @@ def libopenshot_crash_recovery(): + # Format last log line based on OS (since each OS can be formatted differently) + if platform.system() == "Darwin": + last_log_line = "mac-%s" % last_log_line[58:].strip() ++ elif platform.system() == "FreeBSD": ++ last_log_line = "freebsd-%s" % last_log_line.replace("/usr/local/lib/", "") + elif platform.system() == "Windows": + last_log_line = "windows-%s" % last_log_line + elif platform.system() == "Linux": -- cgit v1.2.3