Add missing #include for gcc-11
This commit is contained in:
parent
6c620b8cf5
commit
36949051bc
12
fuse3-gcc11.patch
Normal file
12
fuse3-gcc11.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/example/cxxopts.hpp b/example/cxxopts.hpp
|
||||||
|
index 6fd170d..6906e3b 100644
|
||||||
|
--- a/example/cxxopts.hpp
|
||||||
|
+++ b/example/cxxopts.hpp
|
||||||
|
@@ -37,6 +37,7 @@ THE SOFTWARE.
|
||||||
|
#include <unordered_map>
|
||||||
|
#include <unordered_set>
|
||||||
|
#include <vector>
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
#ifdef __cpp_lib_optional
|
||||||
|
#include <optional>
|
@ -1,11 +1,12 @@
|
|||||||
Name: fuse3
|
Name: fuse3
|
||||||
Version: 3.10.0
|
Version: 3.10.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: File System in Userspace (FUSE) v3 utilities
|
Summary: File System in Userspace (FUSE) v3 utilities
|
||||||
License: GPL+
|
License: GPL+
|
||||||
URL: http://fuse.sf.net
|
URL: http://fuse.sf.net
|
||||||
Source0: https://github.com/libfuse/libfuse/archive/fuse-%{version}.tar.gz
|
Source0: https://github.com/libfuse/libfuse/archive/fuse-%{version}.tar.gz
|
||||||
Source1: fuse.conf
|
Source1: fuse.conf
|
||||||
|
Patch0: fuse3-gcc11.patch
|
||||||
|
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
%if ! 0%{?el6}
|
%if ! 0%{?el6}
|
||||||
@ -65,6 +66,7 @@ Common files for FUSE v2 and FUSE v3.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n libfuse-fuse-%{version}
|
%setup -n libfuse-fuse-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
@ -154,6 +156,9 @@ rm -f %{buildroot}/usr/lib/udev/rules.d/99-fuse3.rules
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 14 2020 Jeff Law <law@redhat.com> - 3.10.0-2
|
||||||
|
- Add missing #include for gcc-11
|
||||||
|
|
||||||
* Mon Oct 12 2020 Tom Callaway <spot@fedoraproject.org> - 3.10.0-1
|
* Mon Oct 12 2020 Tom Callaway <spot@fedoraproject.org> - 3.10.0-1
|
||||||
- update to 3.10.0
|
- update to 3.10.0
|
||||||
- enable lto
|
- enable lto
|
||||||
|
Loading…
Reference in New Issue
Block a user