summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Licht <jonas.licht@fem.tu-ilmenau.de>2020-03-25 22:07:24 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-03-26 16:00:46 +0200
commit55e1d232c375daf204b8b5846042c1756095acd2 (patch)
tree35b44efb820c21eec1f5cb84e42d3b7428f45d1a /net-analyzer/gvm-libs
parentsys-fs/xwmfs: removal of old version 0.83 (diff)
downloadgentoo-55e1d232c375daf204b8b5846042c1756095acd2.tar.gz
gentoo-55e1d232c375daf204b8b5846042c1756095acd2.tar.bz2
gentoo-55e1d232c375daf204b8b5846042c1756095acd2.zip
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@fem.tu-ilmenau.de> Closes: https://github.com/gentoo/gentoo/pull/15117 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/gvm-libs')
-rw-r--r--net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch22
-rw-r--r--net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild (renamed from net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild)5
2 files changed, 27 insertions, 0 deletions
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 <juan.nicola@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
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