svn commit: r408497 - head/dns/knot2/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Feb 8 18:48:54 UTC 2016
Author: amdmi3
Date: Mon Feb 8 18:48:52 2016
New Revision: 408497
URL: https://svnweb.freebsd.org/changeset/ports/408497
Log:
- Fix build after nettle update
Approved by: portmgr blanket
Added:
head/dns/knot2/files/patch-src_dnssec_lib_binary.c (contents, props changed)
Added: head/dns/knot2/files/patch-src_dnssec_lib_binary.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/knot2/files/patch-src_dnssec_lib_binary.c Mon Feb 8 18:48:52 2016 (r408497)
@@ -0,0 +1,22 @@
+--- src/dnssec/lib/binary.c.orig 2016-02-08 15:31:05 UTC
++++ src/dnssec/lib/binary.c
+@@ -22,18 +22,7 @@
+ #include "error.h"
+ #include "shared.h"
+
+-typedef
+-#ifdef HAVE_NETTLE_VERSION_H
+- #include <nettle/version.h>
+- #if NETTLE_VERSION_MAJOR >= 3
+- size_t
+- #else
+- unsigned
+- #endif
+-#else
+- unsigned
+-#endif
+-nettle_len;
++typedef size_t nettle_len;
+
+ static size_t base64_decode_raw(const uint8_t *src, size_t src_len,
+ uint8_t *dst, size_t dst_max_size)
More information about the svn-ports-all
mailing list