commit 177f24fd7e9fd086a7b243cb1fc81faada140f19
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun Dec 23 11:35:20 2018 +0100
Backported upstream build fix.
telegram-desktop-gcc-fix.patch | 21 +++++++++++++++++++++
telegram-desktop.spec | 3 +++
2 files changed, 24 insertions(+)
---
diff --git a/telegram-desktop-gcc-fix.patch b/telegram-desktop-gcc-fix.patch
new file mode 100644
index 0000000..8f025b8
--- /dev/null
+++ b/telegram-desktop-gcc-fix.patch
@@ -0,0 +1,21 @@
+From 4e692e2c1e10538d7fd3e7c0e0a66e0ba474fe76 Mon Sep 17 00:00:00 2001
+From: John Preston <johnprestonmail(a)gmail.com>
+Date: Sun, 23 Dec 2018 01:31:12 +0400
+Subject: [PATCH] Version 1.5.3: Fix build for GCC.
+
+---
+ Telegram/SourceFiles/window/window_peer_menu.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp
b/Telegram/SourceFiles/window/window_peer_menu.cpp
+index c6425e763..f8729948a 100644
+--- a/Telegram/SourceFiles/window/window_peer_menu.cpp
++++ b/Telegram/SourceFiles/window/window_peer_menu.cpp
+@@ -33,6 +33,7 @@ For license and copyright information please follow this link:
+ #include "info/profile/info_profile_values.h"
+ #include "data/data_session.h"
+ #include "data/data_feed.h"
++#include "data/data_poll.h"
+ #include "dialogs/dialogs_key.h"
+
+ namespace Window {
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 9837171..968b67c 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -32,6 +32,9 @@ Patch0: %{name}-build-fixes.patch
Patch1: %{name}-system-fonts.patch
Patch2: %{name}-unbundle-minizip.patch
+# Temporary patches
+Patch100: %{name}-gcc-fix.patch
+
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
Recommends: libappindicator-gtk3%{?_isa}
Requires: qt5-qtimageformats%{?_isa}
Show replies by date