diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 19:04:45 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 19:04:45 +0000 |
commit | 5eedb4d420d89a89a5a926b2276274d13c1a12c6 (patch) | |
tree | c26d80528a9e4a518b91d9d722027f5326d5e04a /user/telegram/endian.patch | |
parent | ca0ba7a6ae14c92c93600d292a94c76474cb6040 (diff) | |
download | packages-5eedb4d420d89a89a5a926b2276274d13c1a12c6.tar.gz packages-5eedb4d420d89a89a5a926b2276274d13c1a12c6.tar.bz2 packages-5eedb4d420d89a89a5a926b2276274d13c1a12c6.tar.xz packages-5eedb4d420d89a89a5a926b2276274d13c1a12c6.zip |
user/telegram: New package
Diffstat (limited to 'user/telegram/endian.patch')
-rw-r--r-- | user/telegram/endian.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/telegram/endian.patch b/user/telegram/endian.patch new file mode 100644 index 000000000..81cfd8859 --- /dev/null +++ b/user/telegram/endian.patch @@ -0,0 +1,25 @@ +From d4c11502175e2a7821dbd92e029a90d54498e3e8 Mon Sep 17 00:00:00 2001 +From: John Zimmermann <johnz@posteo.net> +Date: Thu, 2 Jan 2020 12:57:33 +0100 +Subject: [PATCH] Build on big endian + +--- + Telegram/SourceFiles/config.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git Telegram/SourceFiles/config.h Telegram/SourceFiles/config.h +index fb7b54e4d..6a873fbd7 100644 +--- a/Telegram/SourceFiles/config.h ++++ b/Telegram/SourceFiles/config.h +@@ -177,7 +177,7 @@ constexpr auto ApiHash = "344583e45741c457fe1862106095a5eb"; + #endif // TDESKTOP_API_ID && TDESKTOP_API_HASH + + #if Q_BYTE_ORDER == Q_BIG_ENDIAN +-#error "Only little endian is supported!" ++#warning "Only little endian is supported!" + #endif // Q_BYTE_ORDER == Q_BIG_ENDIAN + + #if (TDESKTOP_ALPHA_VERSION != 0) +-- +2.24.1 + |