[arch-commits] Commit in telegram-desktop/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Fri Sep 6 16:14:28 UTC 2019
Date: Friday, September 6, 2019 @ 16:14:26
Author: farseerfc
Revision: 508295
upgpkg: telegram-desktop 1.8.4-1
telegram-desktop 1.8.4
Modified:
telegram-desktop/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-06 16:04:33 UTC (rev 508294)
+++ PKGBUILD 2019-09-06 16:14:26 UTC (rev 508295)
@@ -5,7 +5,7 @@
# https://github.com/mymedia2/tdesktop
pkgname=telegram-desktop
-pkgver=1.8.2
+pkgver=1.8.4
pkgrel=1
pkgdesc='Official Telegram Desktop client'
arch=('x86_64')
@@ -74,6 +74,15 @@
# disable static-qt for rlottie
sed "/RLOTTIE_WITH_STATIC_QT/d" -i "$srcdir/tdesktop/Telegram/gyp/lib_rlottie.gyp"
+ # fix C++ ranges::sized_iterator_range
+ sed "s/ranges::make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/data/data_channel.cpp"
+ sed "s/ranges::make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/chat_helpers/emoji_keywords.cpp"
+ sed "s/ranges::make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp"
+ sed "s/ranges::make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/ui/widgets/input_fields.cpp"
+ sed "s/ranges::make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/ui/text/text_entity.cpp"
+ sed "s/make_iterator_range/ranges::subrange/g" -i "$srcdir/tdesktop/Telegram/SourceFiles/history/history_inner_widget.cpp"
+ sed "/int remainder = 0;/a inline bool operator==(const PercentCounterItem &o) const { return !(*this < o) && !(o < *this);}" -i "$srcdir/tdesktop/Telegram/SourceFiles/history/view/media/history_view_poll.cpp"
+
cd "$srcdir/tdesktop"
cd "Telegram/ThirdParty/libtgvoip"
patch -Np1 -i "$srcdir/libtgvoip.patch"
More information about the arch-commits
mailing list