fixed build issue with gcc9
This commit is contained in:
parent
f5dd303609
commit
d8c2c5870f
|
@ -53,7 +53,7 @@ BuildRequires: pkgconfig(libsystemd)
|
||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Version: 5.11.3
|
Version: 5.11.3
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
|
@ -122,6 +122,9 @@ Patch67: https://bugreports.qt.io/secure/attachment/66353/xcberror_filter.patch
|
||||||
# python3
|
# python3
|
||||||
Patch68: qtbase-everywhere-src-5.11.1-python3.patch
|
Patch68: qtbase-everywhere-src-5.11.1-python3.patch
|
||||||
|
|
||||||
|
# build issue with gcc9
|
||||||
|
Patch69: qtbase-everywhere-src-5.11.3-gcc9.patch
|
||||||
|
|
||||||
# glibc stat
|
# glibc stat
|
||||||
|
|
||||||
## upstream patches
|
## upstream patches
|
||||||
|
@ -379,6 +382,7 @@ Qt5 libraries used for drawing widgets and OpenGL items.
|
||||||
# FIXME/REBASE
|
# FIXME/REBASE
|
||||||
#patch67 -p1 -b .xcberror_filter
|
#patch67 -p1 -b .xcberror_filter
|
||||||
%patch68 -p1
|
%patch68 -p1
|
||||||
|
%patch69 -p1
|
||||||
|
|
||||||
## upstream patches
|
## upstream patches
|
||||||
%patch500 -p1 -b .rendering-issue
|
%patch500 -p1 -b .rendering-issue
|
||||||
|
@ -993,6 +997,9 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 13 2019 Than Ngo <than@redhat.com> - 5.11.3-4
|
||||||
|
- fixed build issue with gcc9
|
||||||
|
|
||||||
* Sun Feb 03 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-3
|
* Sun Feb 03 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-3
|
||||||
- disable renameat2/statx feature on < f30 (#1668865)
|
- disable renameat2/statx feature on < f30 (#1668865)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -up qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp.me qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp
|
||||||
|
--- qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp.me 2019-02-13 19:13:26.115949411 +0100
|
||||||
|
+++ qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp 2019-02-13 19:26:57.822405994 +0100
|
||||||
|
@@ -218,6 +218,7 @@ struct QRandomGenerator::SystemGenerator
|
||||||
|
#endif // Q_OS_WINRT
|
||||||
|
|
||||||
|
static SystemGenerator &self();
|
||||||
|
+ typedef quint32 result_type;
|
||||||
|
void generate(quint32 *begin, quint32 *end) Q_DECL_NOEXCEPT_EXPR(FillBufferNoexcept);
|
||||||
|
|
||||||
|
// For std::mersenne_twister_engine implementations that use something
|
Loading…
Reference in New Issue