Commit e1441047 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/gvm-libs: upgrade ot 21.4.3

parent dcb03b8e
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gvm-libs
pkgver=21.4.2
pkgrel=1
pkgver=21.4.3
pkgrel=0
pkgdesc="Greenbone Vulnerability Management Libraries"
url="https://www.openvas.org/"
arch="all"
......@@ -22,7 +22,8 @@ subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gvm-libs/archive/v$pkgver.tar.gz
malloc-trim.patch
glib-include-path.patch
strptime.patch"
strptime.patch
use-posix-addr-struct.patch"
prepare() {
default_prepare
......@@ -64,8 +65,9 @@ doc() {
}
sha512sums="
2eb1855c60a3afb66634d1aee07455b7d2868f6d7e772618215dc0991ca773d95ee04a65ffa41d4737e7d3cdbd28b546d82ba0aa371a5cec0a656297dd7103b1 gvm-libs-21.4.2.tar.gz
68fa7b8ce6db64bbd7eb9862891cbdae1abb04d80b4dc0dbea1a5b027a4bf1c0450dce83185d3007799f3f31830a3e014263677e04354ee15fbc8b9b20f1d525 gvm-libs-21.4.3.tar.gz
ae93ac7ec929325926d785bb58ed9c09f8bdaf518adf09db54bb9a8a4b5e4474c0ab61fc987c91114f2013cbe39868115006b528865fbd027e5b88eca58f1954 malloc-trim.patch
c0fe0add24cb4336f0ce313197042e60a3aba3eeb983f31b243e665a488e520ffa260ab9a3feb852500310a9df66f2eaf82ac4294d7980b983a78454b30eb9f9 glib-include-path.patch
b10f2b6a8e126a184c65c91bdd18a21e4ee16cbc442775288a11c2768c8e5c1db4ce3749025e7cc3f360c7c1011b79dca836fee742fb9f06034ca0a986f718b5 strptime.patch
1641f2c728eecf318850446a53d6a7baf53efd33caebd1de27007a227cf48ad8d7d8ef3183d519aade2167dc9cfab3a0e33c6f37ec83b21808742f201f11e781 use-posix-addr-struct.patch
"
diff --git a/base/hosts.c b/base/hosts.c
index fd4a3f5..543231f 100644
--- a/base/hosts.c
+++ b/base/hosts.c
@@ -2031,10 +2031,10 @@ gvm_duplicate_host (gvm_host_t *host)
ret->name = g_strdup (host->name);
break;
case HOST_TYPE_IPV4:
- ret->addr.s_addr = host->addr.s_addr;
+ ret->addr = host->addr;
break;
case HOST_TYPE_IPV6:
- ret->addr6.__in6_u = host->addr6.__in6_u;
+ ret->addr6 = host->addr6;
break;
default:
g_free (ret);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment