diff --git a/network/chat/telegram-desktop/files/wayland.patch b/network/chat/telegram-desktop/files/wayland.patch new file mode 100644 index 0000000000..812f00260f --- /dev/null +++ b/network/chat/telegram-desktop/files/wayland.patch @@ -0,0 +1,11 @@ +diff -Nuar a/Telegram/lib_webrtc/webrtc/platform/linux/webrtc_environment_linux.cpp b/Telegram/lib_webrtc/webrtc/platform/linux/webrtc_environment_linux.cpp +--- a/Telegram/lib_webrtc/webrtc/platform/linux/webrtc_environment_linux.cpp 2024-08-01 11:18:49.000000000 +0300 ++++ b/Telegram/lib_webrtc/webrtc/platform/linux/webrtc_environment_linux.cpp 2024-08-02 14:12:24.183764919 +0300 +@@ -9,6 +9,7 @@ + #include "base/debug_log.h" + + #ifdef WEBRTC_USE_PIPEWIRE ++#include + #include + #endif // WEBRTC_USE_PIPEWIRE + diff --git a/network/chat/telegram-desktop/pspec.xml b/network/chat/telegram-desktop/pspec.xml index 4286389722..e7abf2fa8f 100644 --- a/network/chat/telegram-desktop/pspec.xml +++ b/network/chat/telegram-desktop/pspec.xml @@ -66,7 +66,7 @@ qt6-declarative-devel - + wayland.patch