1 |
commit: 1af7aefbf83a1092af70ffd11cffd8f964e34660 |
2 |
Author: peeweep <peeweep <AT> 0x0 <DOT> ee> |
3 |
AuthorDate: Wed Aug 3 06:00:39 2022 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 17:39:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af7aefb |
7 |
|
8 |
net-im/telegram-desktop: fix gcc12 build fail |
9 |
|
10 |
Closes: https://bugs.gentoo.org/863248 |
11 |
Signed-off-by: peeweep <peeweep <AT> 0x0.ee> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26715 |
13 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
14 |
|
15 |
.../files/tdesktop-4.0.2-fix-gcc12-cstdint.patch | 10 ++++++++++ |
16 |
net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild | 1 + |
17 |
2 files changed, 11 insertions(+) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 000000000000..a3d67e0c9a1b |
22 |
--- /dev/null |
23 |
+++ b/net-im/telegram-desktop/files/tdesktop-4.0.2-fix-gcc12-cstdint.patch |
24 |
@@ -0,0 +1,10 @@ |
25 |
+--- a/Telegram/ThirdParty/tgcalls/tgcalls/utils/gzip.h |
26 |
++++ b/Telegram/ThirdParty/tgcalls/tgcalls/utils/gzip.h |
27 |
+@@ -2,6 +2,7 @@ |
28 |
+ #define TGCALLS_UTILS_GZIP_H |
29 |
+ |
30 |
+ #include <absl/types/optional.h> |
31 |
++#include <cstdint> |
32 |
+ #include <vector> |
33 |
+ |
34 |
+ namespace tgcalls { |
35 |
|
36 |
diff --git a/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild b/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild |
37 |
index 930d3d186fc3..be7e1428d2a7 100644 |
38 |
--- a/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild |
39 |
+++ b/net-im/telegram-desktop/telegram-desktop-4.0.2.ebuild |
40 |
@@ -75,6 +75,7 @@ PATCHES=( |
41 |
"${FILESDIR}/tdesktop-3.6.0-jemalloc-only-telegram.patch" |
42 |
"${FILESDIR}/tdesktop-3.3.0-fix-enchant.patch" |
43 |
"${FILESDIR}/tdesktop-3.5.2-musl.patch" |
44 |
+ "${FILESDIR}/tdesktop-4.0.2-fix-gcc12-cstdint.patch" |
45 |
) |
46 |
|
47 |
# Current desktop-file-utils-0.26 does not understand Version=1.5 |