From 4e5846f2c91be868a2962271ddd7f6c753e83c45 Mon Sep 17 00:00:00 2001 From: Esteve Varela Colominas Date: Tue, 14 Sep 2021 22:52:28 +0200 Subject: net-im/telegram-desktop: Add libdl dependency Fixes build error with USE=webkit Closes: https://bugs.gentoo.org/812926 Thanks-to: Azamat H. Hackimov Signed-off-by: Esteve Varela Colominas Signed-off-by: Georgy Yakovlev --- .../files/tdesktop-2.9.3-add-libdl-dependency.patch | 15 +++++++++++++++ net-im/telegram-desktop/telegram-desktop-2.9.3.ebuild | 1 + 2 files changed, 16 insertions(+) create mode 100644 net-im/telegram-desktop/files/tdesktop-2.9.3-add-libdl-dependency.patch (limited to 'net-im') 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() { -- cgit v1.2.3-65-gdbad