net-im/telegram-desktop: fix gcc12 build fail

Closes: https://bugs.gentoo.org/863248
Signed-off-by: peeweep <peeweep@0x0.ee>
Closes: https://github.com/gentoo/gentoo/pull/26715
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
peeweep
2022-08-03 06:00:39 +00:00
committed by Georgy Yakovlev
parent 4ea530c548
commit 1af7aefbf8
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- a/Telegram/ThirdParty/tgcalls/tgcalls/utils/gzip.h
+++ b/Telegram/ThirdParty/tgcalls/tgcalls/utils/gzip.h
@@ -2,6 +2,7 @@
#define TGCALLS_UTILS_GZIP_H
#include <absl/types/optional.h>
+#include <cstdint>
#include <vector>
namespace tgcalls {

View File

@@ -75,6 +75,7 @@ PATCHES=(
"${FILESDIR}/tdesktop-3.6.0-jemalloc-only-telegram.patch"
"${FILESDIR}/tdesktop-3.3.0-fix-enchant.patch"
"${FILESDIR}/tdesktop-3.5.2-musl.patch"
"${FILESDIR}/tdesktop-4.0.2-fix-gcc12-cstdint.patch"
)
# Current desktop-file-utils-0.26 does not understand Version=1.5