summarylogtreecommitdiffstats
path: root/qt-5.15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qt-5.15.patch')
-rw-r--r--qt-5.15.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/qt-5.15.patch b/qt-5.15.patch
new file mode 100644
index 000000000000..b3f0c8db526e
--- /dev/null
+++ b/qt-5.15.patch
@@ -0,0 +1,16 @@
+diff -Nurd chrome-token-signing/host-linux/Signer.h chrome-token-signing.1/host-linux/Signer.h
+--- chrome-token-signing/host-linux/Signer.h 2020-05-21 14:21:05.000000000 +0300
++++ chrome-token-signing.1/host-linux/Signer.h 2020-06-19 14:51:37.000000000 +0300
+@@ -159,9 +159,10 @@
+ }
+
+ private:
+- static QByteArray toHex(const std::vector<unsigned char> &data)
++ static QString toHex(const std::vector<unsigned char> &data)
+ {
+- return QByteArray::fromRawData((const char*)data.data(), int(data.size())).toHex();
++ QByteArray bin = QByteArray::fromRawData((const char*)data.data(), int(data.size())).toHex();
++ return QString::fromStdString(bin.toStdString());
+ }
+
+ static std::vector<unsigned char> fromHex(const QString &data)