mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:51:47 +08:00
[qt5] Restore trailing spaces to uncorrupt patches.
This commit is contained in:
parent
5a32a97de1
commit
50af29ade6
@ -18,7 +18,7 @@ index eaaa161..fdec8ea 100644
|
||||
+++ b/qtbase/mkspecs/features/qt_configure.prf
|
||||
@@ -401,6 +401,7 @@ defineReplace(qtConfPrepareArgs) {
|
||||
}
|
||||
|
||||
|
||||
defineTest(qtConfSetupLibraries) {
|
||||
+ asspfx = $${currentConfig}.commandline.assignments
|
||||
for (l, $${currentConfig}.libraries._KEYS_) {
|
||||
@ -69,7 +69,7 @@ index eaaa161..fdec8ea 100644
|
||||
+ }
|
||||
+ export($${asspfx}._KEYS_)
|
||||
+
|
||||
|
||||
|
||||
# reverse mapping for assignments on command line.
|
||||
- for (a, $${currentConfig}.commandline.assignments._KEYS_) {
|
||||
- apfx = $${currentConfig}.commandline.assignments.$${a}
|
||||
@ -81,7 +81,7 @@ index eaaa161..fdec8ea 100644
|
||||
@@ -479,6 +514,18 @@ defineTest(qtConfLibrary_inline) {
|
||||
export($${1}.libs)
|
||||
}
|
||||
|
||||
|
||||
+ incdir = $$val_escape(config.input.$${input}.incdir)
|
||||
+ !isEmpty(incdir) {
|
||||
+ $${1}.includedir = $$incdir
|
||||
@ -96,7 +96,7 @@ index eaaa161..fdec8ea 100644
|
||||
+
|
||||
return(true)
|
||||
}
|
||||
|
||||
|
||||
diff --git a/qtbase/src/gui/configure.json b/qtbase/src/gui/configure.json
|
||||
index 1f50116..af03362 100644
|
||||
--- a/qtbase/src/gui/configure.json
|
||||
@ -115,7 +115,7 @@ index 1e08aa7..314970e 100644
|
||||
--- a/qtbase/src/network/configure.json
|
||||
+++ b/qtbase/src/network/configure.json
|
||||
@@ -7,9 +7,6 @@
|
||||
|
||||
|
||||
"commandline": {
|
||||
"assignments": {
|
||||
- "OPENSSL_LIBS": "openssl.libs",
|
||||
|
@ -80,13 +80,13 @@ index 303374b..7e84695 100644
|
||||
@@ -660,9 +661,13 @@ Q_DECL_CONSTEXPR Q_ALWAYS_INLINE uint qt_builtin_popcountll(quint64 v) Q_DECL_NO
|
||||
#endif // MSVC
|
||||
#endif // QT_HAS_CONSTEXPR_BUILTINS
|
||||
|
||||
|
||||
+#ifndef QT_POPCOUNT_CONSTEXPR
|
||||
+#define QT_POPCOUNT_CONSTEXPR Q_DECL_CONSTEXPR
|
||||
+#endif
|
||||
+
|
||||
} //namespace QAlgorithmsPrivate
|
||||
|
||||
|
||||
-Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint32 v) Q_DECL_NOTHROW
|
||||
+Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR inline uint qPopulationCount(quint32 v) Q_DECL_NOTHROW
|
||||
{
|
||||
@ -95,7 +95,7 @@ index 303374b..7e84695 100644
|
||||
@@ -675,7 +680,7 @@ Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint32 v) Q
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
-Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint8 v) Q_DECL_NOTHROW
|
||||
+Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR inline uint qPopulationCount(quint8 v) Q_DECL_NOTHROW
|
||||
{
|
||||
@ -104,7 +104,7 @@ index 303374b..7e84695 100644
|
||||
@@ -685,7 +690,7 @@ Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint8 v) Q_
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
-Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint16 v) Q_DECL_NOTHROW
|
||||
+Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR inline uint qPopulationCount(quint16 v) Q_DECL_NOTHROW
|
||||
{
|
||||
@ -113,7 +113,7 @@ index 303374b..7e84695 100644
|
||||
@@ -696,7 +701,7 @@ Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint16 v) Q
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
-Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint64 v) Q_DECL_NOTHROW
|
||||
+Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR inline uint qPopulationCount(quint64 v) Q_DECL_NOTHROW
|
||||
{
|
||||
@ -122,7 +122,7 @@ index 303374b..7e84695 100644
|
||||
@@ -711,7 +716,7 @@ Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(quint64 v) Q
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
-Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qPopulationCount(long unsigned int v) Q_DECL_NOTHROW
|
||||
+Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR inline uint qPopulationCount(long unsigned int v) Q_DECL_NOTHROW
|
||||
{
|
||||
@ -133,6 +133,6 @@ index 303374b..7e84695 100644
|
||||
#undef QALGORITHMS_USE_BUILTIN_POPCOUNT
|
||||
#endif
|
||||
+#undef QT_POPCOUNT_CONSTEXPR
|
||||
|
||||
|
||||
Q_DECL_RELAXED_CONSTEXPR inline uint qCountTrailingZeroBits(quint32 v) Q_DECL_NOTHROW
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user