Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 18:48:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408497 - head/dns/knot2/files
Message-ID:  <201602081848.u18Imqkj092388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602081848.u18Imqkj092388>