summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-09-14 22:52:28 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-09-16 05:07:01 -0700
commit4e5846f2c91be868a2962271ddd7f6c753e83c45 (patch)
treeaff1ede707f9ec48cc03fd447374a16902a7ef73 /net-im/telegram-desktop
parentkde-plasma/xembed-sni-proxy: drop 5.21.5* (diff)
downloadgentoo-4e5846f2c91be868a2962271ddd7f6c753e83c45.tar.gz
gentoo-4e5846f2c91be868a2962271ddd7f6c753e83c45.tar.bz2
gentoo-4e5846f2c91be868a2962271ddd7f6c753e83c45.zip
net-im/telegram-desktop: Add libdl dependency
Fixes build error with USE=webkit Closes: https://bugs.gentoo.org/812926 Thanks-to: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
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() {