From d52d4cb95ba37b873e2d0f077f20bacb2f727fcb Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 16 Oct 2020 15:45:19 -0600 Subject: [PATCH] Fix missing #includes for gcc-11 --- quassel-gcc11.patch | 39 +++++++++++++++++++++++++++++++++++++++ quassel.spec | 4 ++++ 2 files changed, 43 insertions(+) create mode 100644 quassel-gcc11.patch diff --git a/quassel-gcc11.patch b/quassel-gcc11.patch new file mode 100644 index 0000000..ad2a712 --- /dev/null +++ b/quassel-gcc11.patch @@ -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 ++ + #include + #include + #include +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 ++ + #include + + #include +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 ++ + #include + + #include diff --git a/quassel.spec b/quassel.spec index b4dd4bc..ab12945 100755 --- a/quassel.spec +++ b/quassel.spec @@ -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 - 0.13.1-6 +- Fix missing #include for gcc-11 + * Mon Jul 13 2020 Marie Loise Nolden - 0.13.1-5 - Fix for Qt 5.14.2 from FreeBSD ports tree