diff --git a/libfilezilla-gcc11.patch b/libfilezilla-gcc11.patch new file mode 100644 index 0000000..44a0fb7 --- /dev/null +++ b/libfilezilla-gcc11.patch @@ -0,0 +1,11 @@ +diff --git a/lib/buffer.cpp b/lib/buffer.cpp +index b7ee953..7617ecf 100644 +--- lib/buffer.cpp ++++ lib/buffer.cpp +@@ -1,5 +1,6 @@ + #include "libfilezilla/buffer.hpp" + ++#include + #include + #include + diff --git a/libfilezilla.spec b/libfilezilla.spec index 0b474f0..d057712 100644 --- a/libfilezilla.spec +++ b/libfilezilla.spec @@ -1,11 +1,12 @@ Name: libfilezilla Version: 0.25.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://lib.filezilla-project.org/ Summary: C++ Library for FileZilla License: GPLv2+ Source0: https://download.filezilla-project.org/%{name}/%{name}-%{version}.tar.bz2 +Patch0: %{name}-gcc11.patch %if 0%{?rhel} == 8 # libuv-devel not present on s390x on EL-8 @@ -58,6 +59,9 @@ This package contains files needed to compile code using libfilezilla. %{_libdir}/pkgconfig/libfilezilla.pc %changelog +* Mon Oct 19 2020 Jeff Law - 0.25.0-2 +- Fix missing #include for gcc-11 + * Tue Oct 13 2020 Gwyn Ciesla - 0.25.0-1 - 0.25.0