diff --git a/Carla-gcc11-include.patch b/Carla-gcc11-include.patch new file mode 100644 index 0000000..519a1d2 --- /dev/null +++ b/Carla-gcc11-include.patch @@ -0,0 +1,24 @@ +diff --git a/source/modules/water/text/CharacterFunctions.h b/source/modules/water/text/CharacterFunctions.h +index 4108e99..d9dfe8a 100644 +--- source/modules/water/text/CharacterFunctions.h ++++ source/modules/water/text/CharacterFunctions.h +@@ -29,6 +29,7 @@ + #include "../memory/Memory.h" + + #include ++#include + + namespace water { + +diff --git a/source/modules/water/text/String.h b/source/modules/water/text/String.h +index b636146..39cc712 100644 +--- source/modules/water/text/String.h ++++ source/modules/water/text/String.h +@@ -30,6 +30,7 @@ + #include "../memory/Memory.h" + + #include ++#include + + namespace water { + diff --git a/Carla.spec b/Carla.spec index 57218c9..dba2c4d 100644 --- a/Carla.spec +++ b/Carla.spec @@ -2,7 +2,7 @@ Name: Carla Version: 2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio plugin host # The entire source code is GPLv2+ except @@ -51,6 +51,7 @@ Epoch: 1 License: GPLv2+ and BSD and Boost and ISC and MIT and zlib URL: https://github.com/falkTX/Carla Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: Carla-gcc11-include.patch #ExcludeArch: ppc64le @@ -213,6 +214,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_libdir}/pkgconfig/%{pname}-native-plugin.pc %changelog +* Mon Oct 12 2020 Jeff Law - 1:2.2.0-2 +- Add missing #includes for gcc-11 + * Sun Sep 27 2020 Martin Gansser - 1:2.2.0-1 - Update to 2.2.0