[arch-commits] Commit in telegram-desktop/trunk (PKGBUILD fix-tgcalls-cstdint.patch)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Tue Jun 21 23:02:27 UTC 2022
Date: Tuesday, June 21, 2022 @ 23:02:27
Author: svenstaro
Revision: 1238893
upgpkg: telegram-desktop 4.0.0-1
Added:
telegram-desktop/trunk/fix-tgcalls-cstdint.patch
Modified:
telegram-desktop/trunk/PKGBUILD
---------------------------+
PKGBUILD | 8 ++++++--
fix-tgcalls-cstdint.patch | 12 ++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-21 23:01:44 UTC (rev 1238892)
+++ PKGBUILD 2022-06-21 23:02:27 UTC (rev 1238893)
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
# Contributor: hexchain <i at hexchain.org>
pkgname=telegram-desktop
-pkgver=3.7.3
+pkgver=4.0.0
pkgrel=1
pkgdesc='Official Telegram Desktop client'
arch=('x86_64')
@@ -15,11 +15,15 @@
optdepends=('webkit2gtk: embedded browser features'
'xdg-desktop-portal: desktop integration')
source=("https://github.com/telegramdesktop/tdesktop/releases/download/v${pkgver}/tdesktop-${pkgver}-full.tar.gz"
+ fix-tgcalls-cstdint.patch
)
-sha512sums=('f35052e514d520796296fa88e3affa1734973164e4b72f0120b78fc586de98a15e64a4e25f436ee4c2c2c0e100c64b3dbd2d96401dff19c382a6ad1fde88e859')
+sha512sums=('11004d7a889e64da0f9a9d976fc9665974e000b9aefd909723606639d97df07c62e86fce6b496e40ebdb954acc410609959cd94ca5d7b18c1d89373a09e970f1'
+ 'ba24a2f1524010b4891764aacee2e27a5ebae44cf7626ab2aaf9e6c48b0f8088bf920886ceeb497b3c463fa0c3b885dd63db273d4c29cab6c96c8193c0c5c888')
prepare() {
cd tdesktop-$pkgver-full
+
+ patch -Np1 -i "$srcdir"/fix-tgcalls-cstdint.patch -d Telegram/ThirdParty/tgcalls
}
build() {
Added: fix-tgcalls-cstdint.patch
===================================================================
--- fix-tgcalls-cstdint.patch (rev 0)
+++ fix-tgcalls-cstdint.patch 2022-06-21 23:02:27 UTC (rev 1238893)
@@ -0,0 +1,12 @@
+diff --git a/tgcalls/utils/gzip.h b/tgcalls/utils/gzip.h
+index a3f3ea2..7ae5cc5 100644
+--- a/tgcalls/utils/gzip.h
++++ b/tgcalls/utils/gzip.h
+@@ -3,6 +3,7 @@
+
+ #include <absl/types/optional.h>
+ #include <vector>
++#include <cstdint>
+
+ namespace tgcalls {
+
More information about the arch-commits
mailing list