summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2016-02-08 11:16:04 +0100
committerTomáš Chvátal <scarabeus@gentoo.org>2016-02-08 11:16:22 +0100
commitbf4c3059da8c7cdf703e980534b89beb05e40a31 (patch)
treef650557818b7c968a5fa2aaacb27b08fd36d99d5 /net-dns/knot/files
parentdev-lua/luaossl: Fix tags in metadata.xml. (diff)
downloadgentoo-bf4c3059da8c7cdf703e980534b89beb05e40a31.tar.gz
gentoo-bf4c3059da8c7cdf703e980534b89beb05e40a31.tar.bz2
gentoo-bf4c3059da8c7cdf703e980534b89beb05e40a31.zip
[net-dns/knot] Version update to 1.6.6 bug#553782 and version update to 2.1.0 with nettle patch bug#573866.
Diffstat (limited to 'net-dns/knot/files')
-rw-r--r--net-dns/knot/files/knot-2.1.0-nettle.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-dns/knot/files/knot-2.1.0-nettle.patch b/net-dns/knot/files/knot-2.1.0-nettle.patch
new file mode 100644
index 000000000000..8f89ae85067f
--- /dev/null
+++ b/net-dns/knot/files/knot-2.1.0-nettle.patch
@@ -0,0 +1,26 @@
+diff --git a/src/dnssec/lib/binary.c b/src/dnssec/lib/binary.c
+index 454dc5a..8d642be 100644
+--- a/src/dnssec/lib/binary.c
++++ b/src/dnssec/lib/binary.c
+@@ -15,16 +15,18 @@
+ */
+
+ #include <assert.h>
+-#include <nettle/base64.h>
+ #include <string.h>
++#include <nettle/base64.h>
++#ifdef HAVE_NETTLE_VERSION_H
++#include <nettle/version.h>
++#endif
+
+ #include "binary.h"
+ #include "error.h"
+ #include "shared.h"
+
+ typedef
+-#ifdef HAVE_NETTLE_VERSION_H
+- #include <nettle/version.h>
++#ifdef NETTLE_VERSION_MAJOR
+ #if NETTLE_VERSION_MAJOR >= 3
+ size_t
+ #else