commit 0ac130ae7f70cbb76e285c1005a6a69a1a184b5c
Author: Martin Gansser <mgansser(a)online.de>
Date: Fri Jan 15 12:44:02 2021 +0100
Add shotcut-numeric_limits.patch
shotcut-numeric_limits.patch | 10 ++++++++++
shotcut.spec | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/shotcut-numeric_limits.patch b/shotcut-numeric_limits.patch
new file mode 100644
index 0000000..cb8eb49
--- /dev/null
+++ b/shotcut-numeric_limits.patch
@@ -0,0 +1,10 @@
+--- src/spatialmedia/constants.h.orig 2021-01-15 11:59:34.605569731 +0100
++++ src/spatialmedia/constants.h 2021-01-15 11:59:48.499571382 +0100
+@@ -19,6 +19,7 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <limits>
+
+ #include <QtEndian>
+ #if defined(Q_OS_WIN) || defined(Q_OS_MAC)
diff --git a/shotcut.spec b/shotcut.spec
index 9c28376..8fa2674 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -4,7 +4,7 @@
Name: shotcut
Version: 20.11.28
-Release: 1%{dist}
+Release: 2%{dist}
#Release: 0.1.beta1%%{dist}
Summary: A free, open source, cross-platform video editor
# The entire source code is GPLv3+ except mvcp/ which is LGPLv2+
@@ -19,6 +19,7 @@ Patch0: mlt_path.patch
Patch1: shotcut-noupdatecheck.patch
# Force X
Patch2: Force_X.patch
+Patch3: shotcut-numeric_limits.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
@@ -187,6 +188,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/org.%{name}.S
%doc doc
%changelog
+* Fri Jan 15 2021 Martin Gansser <martinkg(a)fedoraproject.org> - 20.11.28-2
+- Add shotcut-numeric_limits.patch
+
* Mon Nov 30 2020 Martin Gansser <martinkg(a)fedoraproject.org> - 20.11.28-1
- Update to 20.11.28