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 0000000000000..a3d67e0c9a1bf --- /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 ++#include + #include + + 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 930d3d186fc39..be7e1428d2a71 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