Fix missing #includes for gcc-11
This commit is contained in:
parent
cdeed80bba
commit
d52d4cb95b
|
@ -0,0 +1,39 @@
|
|||
diff --git a/src/common/protocols/datastream/datastreampeer.cpp b/src/common/protocols/datastream/datastreampeer.cpp
|
||||
index 033639e..8c65f79 100644
|
||||
--- src/common/protocols/datastream/datastreampeer.cpp
|
||||
+++ src/common/protocols/datastream/datastreampeer.cpp
|
||||
@@ -18,6 +18,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <limits>
|
||||
+
|
||||
#include <QtEndian>
|
||||
#include <QDataStream>
|
||||
#include <QHostAddress>
|
||||
diff --git a/src/common/remotepeer.cpp b/src/common/remotepeer.cpp
|
||||
index bc9f9d0..89bee40 100644
|
||||
--- src/common/remotepeer.cpp
|
||||
+++ src/common/remotepeer.cpp
|
||||
@@ -18,6 +18,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <limits>
|
||||
+
|
||||
#include <QtEndian>
|
||||
|
||||
#include <QHostAddress>
|
||||
diff --git a/src/core/coretransfer.cpp b/src/core/coretransfer.cpp
|
||||
index cf12088..031aaa0 100644
|
||||
--- src/core/coretransfer.cpp
|
||||
+++ src/core/coretransfer.cpp
|
||||
@@ -18,6 +18,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <limits>
|
||||
+
|
||||
#include <QtEndian>
|
||||
|
||||
#include <QCoreApplication>
|
|
@ -13,6 +13,7 @@ Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2
|
|||
# patch from freebsd ports treee
|
||||
#https://github.com/freebsd/freebsd-ports/blob/b6c49e02ef34b163293e453c7245093cb7668a40/irc/quassel/files/patch-src_common_types.h
|
||||
Patch0: https://raw.githubusercontent.com/freebsd/freebsd-ports/b6c49e02ef34b163293e453c7245093cb7668a40/irc/quassel/files/patch-src_common_types.h
|
||||
Patch1: %{name}-gcc11.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dbusmenu-qt5-devel
|
||||
|
@ -173,6 +174,9 @@ exit 0
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 16 2020 Jeff Law <law@redhat.com> - 0.13.1-6
|
||||
- Fix missing #include for gcc-11
|
||||
|
||||
* Mon Jul 13 2020 Marie Loise Nolden <loise@kde.org> - 0.13.1-5
|
||||
- Fix for Qt 5.14.2 from FreeBSD ports tree
|
||||
|
||||
|
|
Loading…
Reference in New Issue