commit f8a052b6ee9336fe93e85193a093c1758368fda7
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Feb 6 19:43:17 2023 +0000
Add gcc-13 patch
0001-possible-fix-for-gcc-13-openexr-2.4.1.patch | 29 ++++++++++++++++++++++++
cinelerra-gg.spec | 2 ++
2 files changed, 31 insertions(+)
---
diff --git a/0001-possible-fix-for-gcc-13-openexr-2.4.1.patch
b/0001-possible-fix-for-gcc-13-openexr-2.4.1.patch
new file mode 100644
index 0000000..85ea72f
--- /dev/null
+++ b/0001-possible-fix-for-gcc-13-openexr-2.4.1.patch
@@ -0,0 +1,29 @@
+From 60ef2c364b80e84b916284343a168241fd2235e2 Mon Sep 17 00:00:00 2001
+From: Andrew Randrianasulu <randrianasulu(a)gmail.com>
+Date: Mon, 6 Feb 2023 20:46:43 +0300
+Subject: [PATCH] possible fix for gcc 13 / openexr 2.4.1
+
+---
+ cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3 | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+ create mode 100644 cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
+
+diff --git a/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
+new file mode 100644
+index 00000000..24d9ae1e
+--- /dev/null
++++ b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.patch3
+@@ -0,0 +1,10 @@
++--- openexr-2.4.1/OpenEXR/IlmImf/ImfMisc.cpp.orig 2023-02-06 20:35:13.691479571 +0300
+++++ openexr-2.4.1/OpenEXR/IlmImf/ImfMisc.cpp 2023-02-06 20:35:59.535479538 +0300
++@@ -53,6 +53,7 @@
++ #include <ImfPartType.h>
++ #include <ImfTileDescription.h>
++ #include "ImfNamespace.h"
+++#include <cstdint>
++
++ OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
++
+--
+2.39.1
+
diff --git a/cinelerra-gg.spec b/cinelerra-gg.spec
index 3a7f5b5..6a6788b 100644
--- a/cinelerra-gg.spec
+++ b/cinelerra-gg.spec
@@ -19,6 +19,8 @@ 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
+#
https://www.cinelerra-gg.org/bugtracker/view.php?id=634
+Patch1: 0001-possible-fix-for-gcc-13-openexr-2.4.1.patch
# Only tested on x86_64
ExclusiveArch: x86_64