commit 4d611ee3150264f99a7c82c7e604b5dc5fcfbf85
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Mon Dec 14 02:11:30 2020 -0500
Add OpenEXR patch for GCC 11
cinelerra-gg-patch-openexr.patch | 43 ++++++++++++++++++++++++++++++++++++++++
cinelerra-gg.spec | 2 ++
2 files changed, 45 insertions(+)
---
diff --git a/cinelerra-gg-patch-openexr.patch b/cinelerra-gg-patch-openexr.patch
new file mode 100644
index 0000000..07aef75
--- /dev/null
+++ b/cinelerra-gg-patch-openexr.patch
@@ -0,0 +1,43 @@
+From cb6a90b929fde13d84509187a242750e5ba5ab48 Mon Sep 17 00:00:00 2001
+From: "FeRD (Frank Dana)" <ferdnyc(a)gmail.com>
+Date: Mon, 14 Dec 2020 02:07:46 -0500
+Subject: [PATCH] Add OpenEXR patch for GCC 11
+
+---
+ .../thirdparty/src/openexr-2.4.1.patch1 | 24 +++++++++++++++++++
+ 1 file changed, 24 insertions(+)
+ create mode 100644 cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch1
+
+diff --git a/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch1
b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch1
+new file mode 100644
+index 0000000..4f2cc65
+--- /dev/null
++++ b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch1
+@@ -0,0 +1,24 @@
++From d891cfb0a2b8f6b48a9ede1a48aab022309100ed Mon Sep 17 00:00:00 2001
++From: "FeRD (Frank Dana)" <ferdnyc(a)gmail.com>
++Date: Mon, 14 Dec 2020 02:04:23 -0500
++Subject: [PATCH] Include limits for std::numeric_limits
++
++---
++ OpenEXR/IlmImf/ImfTiledMisc.cpp | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/OpenEXR/IlmImf/ImfTiledMisc.cpp b/OpenEXR/IlmImf/ImfTiledMisc.cpp
++index 8552ada..bd865a1 100644
++--- a/OpenEXR/IlmImf/ImfTiledMisc.cpp
+++++ b/OpenEXR/IlmImf/ImfTiledMisc.cpp
++@@ -45,6 +45,7 @@
++ #include <ImfChannelList.h>
++ #include <ImfTileDescription.h>
++ #include <algorithm>
+++#include <limits>
++
++ #include "ImfNamespace.h"
++
++--
++2.29.2
++
+--
+2.29.2
+
diff --git a/cinelerra-gg.spec b/cinelerra-gg.spec
index 01401c4..976c45a 100644
--- a/cinelerra-gg.spec
+++ b/cinelerra-gg.spec
@@ -16,6 +16,7 @@ Source0:
https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=snap
# CrystalHD is fouling the ffmpeg build
Patch0: cinelerra-gg-Disable-crystalhd-in-ffmpeg.patch
+Patch1: cinelerra-gg-patch-openexr.patch
# Only tested on x86_64
ExclusiveArch: x86_64
@@ -223,6 +224,7 @@ desktop-file-validate
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%changelog
* Sat Dec 05 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 5.1.2020.10-1
- New upstream monthly release
+- Add GCC 11 patch for internal OpenEXR
* Mon Aug 17 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
5.1.2020.07-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild