summaryrefslogtreecommitdiff
path: root/user/kwallet/kwallet-5.22.0-blowfish-endianness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/kwallet/kwallet-5.22.0-blowfish-endianness.patch')
-rw-r--r--user/kwallet/kwallet-5.22.0-blowfish-endianness.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/kwallet/kwallet-5.22.0-blowfish-endianness.patch b/user/kwallet/kwallet-5.22.0-blowfish-endianness.patch
index 9d76cc25c..81c475c28 100644
--- a/user/kwallet/kwallet-5.22.0-blowfish-endianness.patch
+++ b/user/kwallet/kwallet-5.22.0-blowfish-endianness.patch
@@ -1,6 +1,6 @@
--- kwallet-5.29.0/src/runtime/kwalletd/backend/blowfish.cc.old 2016-12-03 21:12:17.000000000 +0000
+++ kwallet-5.29.0/src/runtime/kwalletd/backend/blowfish.cc 2017-01-29 18:02:10.193293280 +0000
-@@ -31,9 +31,7 @@
+@@ -31,12 +31,7 @@
#include "blowfishtables.h"
@@ -8,6 +8,9 @@
-// We need to live with -Wundef until someone really figures out the problem.
-//#include <QtCore/qglobal.h> // for Q_BYTE_ORDER and friends
+#include <QtGlobal> // for Q_BYTE_ORDER and friends
+-// Workaround for -Wundef
+-#define Q_BIG_ENDIAN 1
+-#define Q_BYTE_ORDER Q_BIG_ENDIAN
BlowFish::BlowFish()
{