From 55e1d232c375daf204b8b5846042c1756095acd2 Mon Sep 17 00:00:00 2001 From: Jonas Licht Date: Wed, 25 Mar 2020 22:07:24 +0100 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/15117 Signed-off-by: Joonas Niilola --- .../files/gvm-libs-11.0.0-gnutls.patch | 22 +++++++++++++++++++ ...1.0.0.ebuild => gvm-libs-11.0.0-r1.ebuild} | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch rename net-analyzer/gvm-libs/{gvm-libs-11.0.0.ebuild => gvm-libs-11.0.0-r1.ebuild} (93%) 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 000000000000..427647ddcd9c --- /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 +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 9aa857c40e7c..00bd14e824ab 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 -- 2.26.2