commit: 722577acc69411034dad10d9c9b24d6dc8290e88 Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> AuthorDate: Sun Dec 1 11:40:26 2024 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Wed Dec 4 01:04:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722577ac
net-im/telegram-desktop: Fix cstdint include Also added protobuf version requirement, as 21.9 doesn't work. Closes: https://github.com/gentoo/gentoo/pull/39568 Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> .../telegram-desktop/files/tdesktop-5.8.3-cstdint.patch | 15 +++++++++++++++ ...ktop-5.8.3.ebuild => telegram-desktop-5.8.3-r1.ebuild} | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/net-im/telegram-desktop/files/tdesktop-5.8.3-cstdint.patch b/net-im/telegram-desktop/files/tdesktop-5.8.3-cstdint.patch new file mode 100644 index 000000000000..5f017184055c --- /dev/null +++ b/net-im/telegram-desktop/files/tdesktop-5.8.3-cstdint.patch @@ -0,0 +1,15 @@ +Fix missing cstdint include + +/var/tmp/portage/net-im/telegram-desktop-5.8.3/work/tdesktop-5.8.3-full/Telegram/lib_webview/webview/webview_interface.h:99:14: error: ‘int64_t’ in namespace ‘std’ does not name a type + 99 | std::int64_t streamOffset = 0; + | ^~~~~~~ +--- tdesktop-5.8.3-full.orig/Telegram/lib_webview/webview/webview_interface.h ++++ tdesktop-5.8.3-full/Telegram/lib_webview/webview/webview_interface.h +@@ -12,6 +12,7 @@ + #include <string> + #include <optional> + #include <functional> ++#include <cstdint> + + #include <rpl/never.h> + #include <rpl/producer.h> diff --git a/net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild b/net-im/telegram-desktop/telegram-desktop-5.8.3-r1.ebuild similarity index 99% rename from net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild rename to net-im/telegram-desktop/telegram-desktop-5.8.3-r1.ebuild index b92f8063282b..237a0110810c 100644 --- a/net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-5.8.3-r1.ebuild @@ -27,7 +27,7 @@ CDEPEND=" >=dev-cpp/glibmm-2.77:2.68 dev-libs/glib:2 dev-libs/openssl:= - dev-libs/protobuf + >=dev-libs/protobuf-21.12 dev-libs/xxhash media-libs/libjpeg-turbo:= ~media-libs/libtgvoip-2.4.4_p20240706 @@ -93,6 +93,7 @@ PATCHES=( "${FILESDIR}"/tdesktop-5.2.2-libdispatch.patch "${FILESDIR}"/tdesktop-5.7.2-cstring.patch "${FILESDIR}"/tdesktop-5.8.3-webkit-no-wayland.patch + "${FILESDIR}"/tdesktop-5.8.3-cstdint.patch ) pkg_pretend() {
