summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeeweep <peeweep@0x0.ee>2022-08-03 06:00:39 +0000
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-08-03 10:39:26 -0700
commit1af7aefbf83a1092af70ffd11cffd8f964e34660 (patch)
tree2543ef3d68153e37d8ff5095361dc74171757c61 /net-im/telegram-desktop
parentmedia-libs/tg_owt: fix gcc12 build fail (diff)
downloadgentoo-1af7aefbf83a1092af70ffd11cffd8f964e34660.tar.gz
gentoo-1af7aefbf83a1092af70ffd11cffd8f964e34660.tar.bz2
gentoo-1af7aefbf83a1092af70ffd11cffd8f964e34660.zip
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>
Diffstat (limited to 'net-im/telegram-desktop')
-rw-r--r--net-im/telegram-desktop/files/tdesktop-4.0.2-fix-gcc12-cstdint.patch10
-rw-r--r--net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-4.0.2-fix-gcc12-cstdint.patch b/net-im/telegram-desktop/files/tdesktop-4.0.2-fix-gcc12-cstdint.patch
new file mode 100644
index 000000000000..a3d67e0c9a1b
--- /dev/null
+++ b/net-im/telegram-desktop/files/tdesktop-4.0.2-fix-gcc12-cstdint.patch
@@ -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 {
diff --git a/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild b/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild
index 930d3d186fc3..be7e1428d2a7 100644
--- a/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild
@@ -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