Add missing #includes for gcc-11

This commit is contained in:
Jeff Law 2020-10-12 10:40:13 -06:00
parent caa288ea3b
commit e249bd0429
2 changed files with 29 additions and 1 deletions

24
Carla-gcc11-include.patch Normal file
View File

@ -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 <algorithm>
+#include <limits>
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 <string>
+#include <limits>
namespace water {

View File

@ -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 <law@redhat.com> - 1:2.2.0-2
- Add missing #includes for gcc-11
* Sun Sep 27 2020 Martin Gansser <martinkg@fedoraproject.org> - 1:2.2.0-1
- Update to 2.2.0