Hello community,
here is the log from the commit of package telegram-desktop for
openSUSE:Factory checked in at 2019-02-24 17:19:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
and /work/SRC/openSUSE:Factory/.telegram-desktop.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop"
Sun Feb 24 17:19:55 2019 rev:9 rq:678082 version:1.5.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes
2019-02-15 10:02:47.831618107 +0100
+++
/work/SRC/openSUSE:Factory/.telegram-desktop.new.28833/telegram-desktop.changes
2019-02-24 17:20:05.644400387 +0100
@@ -1,0 +2,10 @@
+Thu Feb 21 18:47:14 UTC 2019 - Marcel Kuehlhorn <[email protected]>
+
+- Do not apply gcc7-fix.patch on Tumbleweed
+
+-------------------------------------------------------------------
+Wed Feb 20 12:12:25 UTC 2019 - [email protected]
+
+- Fix build failure for openSUSE Leap 15.0.
+
+-------------------------------------------------------------------
New:
----
gcc7-fix.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.OUcryK/_old 2019-02-24 17:20:08.828399819 +0100
+++ /var/tmp/diff_new_pack.OUcryK/_new 2019-02-24 17:20:08.832399819 +0100
@@ -47,6 +47,7 @@
Source11: xxHash-master.zip
Patch0: tdesktop.patch
+Patch1: gcc7-fix.patch
BuildRequires: chrpath
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -162,6 +163,9 @@
cp %{_sourcedir}/tdesktop.patch %{_builddir}/tdesktop-%{version}
cd %{_builddir}/tdesktop-%{version}
%patch0 -p1
+%if 0%{?sle_version} <= 150000 && 0%{?is_opensuse} && %{defined sle_version}
+%patch1 -p1
+%endif
cp %{_sourcedir}/patch.py . && python3 ./patch.py
cp %{_sourcedir}/catch.hpp ./Telegram/SourceFiles/
++++++ gcc7-fix.patch ++++++
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,