diff --git a/vapoursynth-gcc11.patch b/vapoursynth-gcc11.patch new file mode 100644 index 0000000..fe8b2d8 --- /dev/null +++ b/vapoursynth-gcc11.patch @@ -0,0 +1,60 @@ +diff --git a/src/core/exprfilter.cpp b/src/core/exprfilter.cpp +index 8e6f154..1971f18 100644 +--- a/src/core/exprfilter.cpp ++++ b/src/core/exprfilter.cpp +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include "VapourSynth.h" + #include "VSHelper.h" + #include "cpufeatures.h" +diff --git a/src/core/genericfilters.cpp b/src/core/genericfilters.cpp +index 613d98f..327512c 100644 +--- a/src/core/genericfilters.cpp ++++ b/src/core/genericfilters.cpp +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + #include + #include "cpufeatures.h" +diff --git a/src/core/kernel/generic.cpp b/src/core/kernel/generic.cpp +index f4477bd..c00c619 100644 +--- a/src/core/kernel/generic.cpp ++++ b/src/core/kernel/generic.cpp +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include "generic.h" + +diff --git a/src/filters/misc/miscfilters.cpp b/src/filters/misc/miscfilters.cpp +index b4a727a..8931cbb 100644 +--- a/src/filters/misc/miscfilters.cpp ++++ b/src/filters/misc/miscfilters.cpp +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include "../src/core/filtersharedcpp.h" +diff --git a/src/filters/removegrain/clense.cpp b/src/filters/removegrain/clense.cpp +index 5fdc6b2..2507119 100644 +--- a/src/filters/removegrain/clense.cpp ++++ b/src/filters/removegrain/clense.cpp +@@ -26,6 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE. + */ + + #include "shared.h" ++#include + + #define CLENSE_RETERROR(x) do { vsapi->setError(out, (x)); vsapi->freeNode(d.cnode); vsapi->freeNode(d.pnode); vsapi->freeNode(d.nnode); return; } while (0) + #define CLAMP(value, lower, upper) do { if (value < lower) value = lower; else if (value > upper) value = upper; } while(0) diff --git a/vapoursynth.spec b/vapoursynth.spec index f89afdb..e3f047a 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 48 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -12,6 +12,7 @@ URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz Patch0: %{name}-version-info.patch Patch1: https://github.com/vapoursynth/vapoursynth/commit/a53ed4dda74d61d4cb56842dc0c6e6e7c3870e11.patch#/%{name}-python38.patch +Patch2: %{name}-gcc11.patch ExclusiveArch: %{ix86} x86_64 @@ -158,6 +159,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Sat Oct 17 2020 Jeff Law - 48-10 +- Fix missing #include for gcc-11 + * Wed Jul 29 2020 Fedora Release Engineering - 48-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild