patch qt: mingw-w64 fix

This commit is contained in:
Mark Brand 2013-10-19 19:45:53 +02:00
parent 8dd229eac0
commit 4e44f0e666
1 changed files with 42 additions and 16 deletions

View File

@ -7,7 +7,7 @@ Also contains MXE specific fixes.
From 6dfcbf0d99d76dbade4e3b427c9826e171382ca4 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 13 Jan 2012 00:17:48 +0100
Subject: [PATCH 01/16] remove trailing whitespace
Subject: [PATCH 01/17] remove trailing whitespace
backported from qt5/qtbase
Change-Id: If53a0bd1794e69b4856f993c6e2959369bd007d6
@ -34,7 +34,7 @@ index 9090773..859ec8d 100644
From f35425afd4ab61c9d5b806223d58292aa519997b Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Thu, 30 Jun 2011 10:22:33 +0200
Subject: [PATCH 02/16] do not detect or configure iconv for Windows
Subject: [PATCH 02/17] do not detect or configure iconv for Windows
Qt doesn't use iconv on Windows, but configuring it will appear to
work and the build will complete. The result is that character
@ -68,7 +68,7 @@ index 460b446..e337dc0 100755
From 4dcf10f5beed5fbe74201f06a750bf18643dd716 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 18 Jan 2012 11:43:10 +0100
Subject: [PATCH 03/16] fix whitespace
Subject: [PATCH 03/17] fix whitespace
backported from qt5/qtbase
Change-Id: I0cfccae085c000d4368386a34f288c1e6f01a88f
@ -142,7 +142,7 @@ index 859ec8d..70cd890 100644
From b3bf93f2b38902cabdd203ad0362e3a90977e118 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Mon, 4 Jul 2011 00:42:24 +0200
Subject: [PATCH 04/16] build and load text codecs regardless of iconv and
Subject: [PATCH 04/17] build and load text codecs regardless of iconv and
platform
Otherwise applications linking to static Qt may have to import
@ -284,7 +284,7 @@ index 7c513a0..517ac87 100644
From 73d43da5b39105d52511036c3bef3a391d0f19ae Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 13 Jan 2012 00:24:13 +0100
Subject: [PATCH 05/16] move plugin text codecs to QtCore
Subject: [PATCH 05/17] move plugin text codecs to QtCore
Having plugin text codecs adds considerable complexity to
configuring Qt. The plugin interface is designed for optional
@ -79235,7 +79235,7 @@ index 94ce675..c4af49b 100644
From aa4d579e9393c0f9b1be42c3b37c9feb04ad42d6 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 18 Jan 2012 21:01:26 +0100
Subject: [PATCH 06/16] update private header references
Subject: [PATCH 06/17] update private header references
backported from qt5/qtbase
Change-Id: I092d879653b6900532a0c4534c1eb2be84e9d0f6
@ -79398,7 +79398,7 @@ index 054fbe5..c1e4689 100644
From 1461f769066a4e73a421f88c57f6ebd5de279f9d Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sun, 3 Jul 2011 21:53:27 +0200
Subject: [PATCH 07/16] cosmetic adjustments for files moved to core/codecs
Subject: [PATCH 07/17] cosmetic adjustments for files moved to core/codecs
-update old reference to 'plugin'
-rename multiple inclusion guards
@ -79890,7 +79890,7 @@ index c1e4689..d5cbd74 100644
From d2258c0533b501f36842f99fc7e32d44e5321fd8 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Thu, 12 Jan 2012 10:43:29 +0100
Subject: [PATCH 08/16] remove obsolete codec plugin loading code
Subject: [PATCH 08/17] remove obsolete codec plugin loading code
backported from qt5/qtbase
Change-Id: I1f3dbb5c10009413f701947b1b89ed3dbc94bf3d
@ -80427,7 +80427,7 @@ index 1642947..36c09f1 100644
From 18bb9c4ba6b8d08af061a5465da5db16260a309d Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Mon, 23 Jan 2012 23:12:46 +0100
Subject: [PATCH 09/16] remove vestiges of text codec plugins
Subject: [PATCH 09/17] remove vestiges of text codec plugins
follow-up to 3a3356a85079d734dfa57205a00e1996afc033df
@ -80461,7 +80461,7 @@ index dea05e0..12cd8ea 100644
From 4fc126e7430559acb80a5c8891d5f237be0409b3 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Thu, 3 Nov 2011 15:10:26 +0100
Subject: [PATCH 10/16] use pkg-config for libmng (MXE specific)
Subject: [PATCH 10/17] use pkg-config for libmng (MXE specific)
Change-Id: Ifce956d5cad06d5273088656b8500b87980063f4
@ -80487,7 +80487,7 @@ index ffb98de..6aab68f 100644
From 2e6ae6495c5ec5a52b4de2473a6a6ad7b1e0fbb2 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Thu, 3 Nov 2011 14:11:02 +0100
Subject: [PATCH 11/16] use pkg-config for libtiff-4 (MXE specific)
Subject: [PATCH 11/17] use pkg-config for libtiff-4 (MXE specific)
Change-Id: I5e89e66fc1606d425553e781c9e62db703136957
@ -80513,7 +80513,7 @@ index e1cc3ee..71cbab1 100644
From 7040eedeada1f2e73e76b6ced8badd403138ed62 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 5 Jun 2010 23:41:04 +0200
Subject: [PATCH 12/16] restore support for static linking of QtWebKit (MXE
Subject: [PATCH 12/17] restore support for static linking of QtWebKit (MXE
specific)
Support was removed by 4221d629e2cf37ee8c5ba7cb595b05ab8c82f113.
@ -80616,7 +80616,7 @@ index 9be0f4a..6744f58 100644
From 63506d7ad0ce09e8d1a28db6b76324c4a7576ed4 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Thu, 1 Sep 2011 13:47:10 +0200
Subject: [PATCH 13/16] fix building on GNU/kFreeBSD (MXE specific)
Subject: [PATCH 13/17] fix building on GNU/kFreeBSD (MXE specific)
This patch has been taken from:
@ -80647,7 +80647,7 @@ index e914ede..d4d06c8 100644
From 7dda90d3a9e0bb86bea079a225e245f031d2de36 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Thu, 1 Sep 2011 13:49:47 +0200
Subject: [PATCH 14/16] fix missing platform when building on GNU/kFreeBSD (MXE
Subject: [PATCH 14/17] fix missing platform when building on GNU/kFreeBSD (MXE
specific)
This patch is inspired by:
@ -80678,7 +80678,7 @@ index e54782e..707f55a 100755
From 9c9244e24c767378429c70b6b85198fd8e91718f Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Thu, 1 Sep 2011 13:51:50 +0200
Subject: [PATCH 15/16] fix building on dragonfly (MXE specific)
Subject: [PATCH 15/17] fix building on dragonfly (MXE specific)
This patch is inspired by:
http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/x11/qt4-libs/Makefile.common?rev=1.27&content-type=text/x-cvsweb-markup
@ -80705,7 +80705,7 @@ index 707f55a..8c48f51 100755
From 780cdd78482a95a44ae204588577e150e8c34ef3 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 17 Aug 2013 20:34:36 +0200
Subject: [PATCH 16/16] libmng 2 config.test compatibility
Subject: [PATCH 16/17] libmng 2 config.test compatibility
Change-Id: I6de90a0f51087c7927bd978f605f4960d3f8ee87
@ -80728,3 +80728,29 @@ index 0fbe554..2559132 100644
--
1.8.1.4
From 1b3fcce36a1301406bf35507352de7205e49158a Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sat, 19 Oct 2013 19:37:30 +0200
Subject: [PATCH 17/17] mingw-w64 compatibility
taken from https://raw.github.com/ant32/pkgbuild/master/mingw-w64-qt4/qt-include-intrin-h-on-mingw-w64.patch
Change-Id: I0f49c7f9d280dfacc33870643d39909cf0917d79
diff --git a/src/corelib/tools/qsimd.cpp b/src/corelib/tools/qsimd.cpp
index 540b615..dc95ac9 100644
--- a/src/corelib/tools/qsimd.cpp
+++ b/src/corelib/tools/qsimd.cpp
@@ -47,7 +47,7 @@
#include <windows.h>
#endif
-#if defined(Q_OS_WIN64) && !defined(Q_CC_GNU)
+#if defined(Q_OS_WIN64)
#include <intrin.h>
#endif
--
1.8.1.4