1
0
telegram-desktop/gcc7-fix.patch
Marcel Kuehlhorn 6cf1cec30a Accepting request 678049 from home:ramax:branches:server:messaging
- Fix build failure for openSUSE Leap 15.0.
  This version of telegram is no longer buildable for Leap 42.3
  due to the lack of c++17 support in gcc 4.8.

OBS-URL: https://build.opensuse.org/request/show/678049
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=68
2019-02-21 18:34:25 +00:00

14 lines
468 B
Diff

Index: tdesktop-1.5.15/Telegram/SourceFiles/boxes/add_contact_box.cpp
===================================================================
--- tdesktop-1.5.15.orig/Telegram/SourceFiles/boxes/add_contact_box.cpp
+++ tdesktop-1.5.15/Telegram/SourceFiles/boxes/add_contact_box.cpp
@@ -97,7 +97,7 @@ void ShowAddParticipantsError(
channel,
user,
close,
- close);
+ [=] { close(0); });
auto box = Box<EditAdminBox>(
channel,
user,