Skip to content
Snippets Groups Projects
Commit bf633b67 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Contribs, Qt: work-around compiler crash on Mingw/32

parent 6aba6483
No related branches found
No related tags found
No related merge requests found
--- qt-5.11.0/src/corelib/global/qrandom.cpp.orig 2018-06-19 11:22:03.011543136 +0200
+++ qt-5.11.0/src/corelib/global/qrandom.cpp 2018-06-19 11:23:45.231337043 +0200
@@ -90,7 +90,7 @@
QT_BEGIN_NAMESPACE
-#if defined(Q_PROCESSOR_X86) && QT_COMPILER_SUPPORTS_HERE(RDRND)
+#if 0
static qsizetype qt_random_cpu(void *buffer, qsizetype count) Q_DECL_NOTHROW;
# ifdef Q_PROCESSOR_X86_64
......@@ -22,8 +22,13 @@ $(TARBALLS)/qt-$(QT_VERSION).tar.xz:
qt: qt-$(QT_VERSION).tar.xz .sum-qt
$(UNPACK)
mv qtbase-everywhere-src-$(QT_VERSION) qt-$(QT_VERSION)
ifdef HAVE_WIN32
$(APPLY) $(SRC)/qt/0001-Windows-QPA-prefer-lower-value-when-rounding-fractio.patch
$(APPLY) $(SRC)/qt/0002-Windows-QPA-Disable-systray-notification-sounds.patch
ifndef HAVE_WIN64
$(APPLY) $(SRC)/qt/0001-disable-qt_random_cpu.patch
endif
endif
$(MOVE)
ifdef HAVE_MACOSX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment