commit: 55e1d232c375daf204b8b5846042c1756095acd2 Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de> AuthorDate: Wed Mar 25 21:07:24 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Mar 26 14:00:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e1d232
net-analyzer/gvm-libs: add patch for gnutls linking in 11.0.0 Closes: https://bugs.gentoo.org/714740 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de> Closes: https://github.com/gentoo/gentoo/pull/15117 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../gvm-libs/files/gvm-libs-11.0.0-gnutls.patch | 22 ++++++++++++++++++++++ ...ibs-11.0.0.ebuild => gvm-libs-11.0.0-r1.ebuild} | 5 +++++ 2 files changed, 27 insertions(+) diff --git a/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch b/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch new file mode 100644 index 00000000000..427647ddcd9 --- /dev/null +++ b/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch @@ -0,0 +1,22 @@ +From 61205ecc6e28f6a1af799ec40074a61037d9bf31 Mon Sep 17 00:00:00 2001 +From: Juan Jose Nicola <juan.nic...@greenbone.net> +Date: Mon, 28 Oct 2019 14:04:52 +0100 +Subject: [PATCH] Fix missing linking to libgnutls in util/CMakeLists.txt + +--- + util/CMakeLists.txt | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt +index 2b7f441d..af5e363e 100644 +--- a/util/CMakeLists.txt ++++ b/util/CMakeLists.txt +@@ -158,7 +158,7 @@ if (BUILD_SHARED) + + target_link_libraries (gvm_util_shared LINK_PRIVATE ${GLIB_LDFLAGS} + ${GIO_LDFLAGS} ${GPGME_LDFLAGS} ${ZLIB_LDFLAGS} +- ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS} ++ ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS} ${GNUTLS_LDFLAGS} + ${GCRYPT_LDFLAGS} ${LDAP_LDFLAGS} ${REDIS_LDFLAGS} + ${UUID_LDFLAGS} ${LINKER_HARDENING_FLAGS}) + endif (BUILD_SHARED) diff --git a/net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild b/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild similarity index 93% rename from net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild rename to net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild index 9aa857c40e7..00bd14e824a 100644 --- a/net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild +++ b/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild @@ -44,6 +44,11 @@ BDEPEND=" dev-perl/SQL-Translator )" +PATCHES=( + # patch for missing gnutls linking https://github.com/greenbone/gvm-libs/issues/277 + "${FILESDIR}/${P}-gnutls.patch" +) + src_prepare() { cmake_src_prepare # QA-Fix | Remove doxygen warnings for !CLANG