summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop')
-rw-r--r--net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch15
-rw-r--r--net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch b/net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch
new file mode 100644
index 000000000000..3df0601b454b
--- /dev/null
+++ b/net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch
@@ -0,0 +1,15 @@
+Add missed dependency on libdl
+
+https://github.com/desktop-app/lib_webview/commit/3cb51ac668d4e1b4f7f2b95fed1192350ba403af
+
+--- tdesktop-2.9.3-full.orig/Telegram/lib_webview/CMakeLists.txt
++++ tdesktop-2.9.3-full/Telegram/lib_webview/CMakeLists.txt
+@@ -56,6 +56,8 @@
+
+ pkg_check_modules(WEBKIT REQUIRED webkit2gtk-4.0)
+ target_include_directories(lib_webview SYSTEM PUBLIC ${WEBKIT_INCLUDE_DIRS})
++
++ target_link_libraries(lib_webview PUBLIC ${CMAKE_DL_LIBS})
+ else()
+ remove_target_sources(lib_webview ${src_loc}
+ webview/platform/linux/webview_linux_webkit_gtk.cpp
diff --git a/net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild b/net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild
index 7ea3e2c04993..9e09efaee54e 100644
--- a/net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild
@@ -73,6 +73,7 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/tdesktop-2.9.3-jemalloc-only-telegram.patch"
+ "${FILESDIR}/tdesktop-2.9.3-add-libdl-dependency.patch"
)
pkg_pretend() {