Update to gnutls-3.2.17.

This commit is contained in:
ajacoutot 2014-08-25 16:27:56 +00:00
parent b22dcf3d08
commit 5391d667e0
4 changed files with 27 additions and 9 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.102 2014/08/21 12:37:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.103 2014/08/25 16:27:56 ajacoutot Exp $
# rfc2818_hostname.c:107: error: storage size of 'ipv6' isn't known
COMMENT= GNU Transport Layer Security library
V= 3.2.16
V= 3.2.17
DISTNAME= gnutls-${V}
EXTRACT_SUFX= .tar.xz
CATEGORIES= security
SHARED_LIBS += gnutls 41.4 # 58.5
SHARED_LIBS += gnutls 41.4 # 58.8
SHARED_LIBS += gnutlsxx 29.1 # 29.0
SHARED_LIBS += gnutls-xssl 0.0 # 0.0
SHARED_LIBS += gnutls-openssl 27.2 # 27.2

View File

@ -1,2 +1,2 @@
SHA256 (gnutls-3.2.16.tar.xz) = eBg2oEqLu0LmWQ1lJNU8hwhQ0m/FUUan4OXX4dGDvK4=
SIZE (gnutls-3.2.16.tar.xz) = 5337140
SHA256 (gnutls-3.2.17.tar.xz) = jJwcONfkWABHSbHeR+zXlMKxbd67kN6gc+V6xyHl5zE=
SIZE (gnutls-3.2.17.tar.xz) = 5151932

View File

@ -1,13 +1,13 @@
$OpenBSD: patch-lib_x509_rfc2818_hostname_c,v 1.1 2014/08/21 12:37:27 ajacoutot Exp $
$OpenBSD: patch-lib_x509_rfc2818_hostname_c,v 1.2 2014/08/25 16:27:57 ajacoutot Exp $
rfc2818_hostname.c:107: error: storage size of 'ipv6' isn't known
--- lib/x509/rfc2818_hostname.c.orig Thu Aug 21 13:51:07 2014
+++ lib/x509/rfc2818_hostname.c Thu Aug 21 13:49:22 2014
--- lib/x509/rfc2818_hostname.c.orig Mon Aug 25 17:18:14 2014
+++ lib/x509/rfc2818_hostname.c Mon Aug 25 17:18:28 2014
@@ -25,6 +25,7 @@
#include <common.h>
#include <gnutls_errors.h>
#include <arpa/inet.h>
#include <system.h>
+#include <netinet/in.h>
static int

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_libopts_autoopts_h,v 1.1 2014/08/25 16:27:57 ajacoutot Exp $
autoopts.h:35:25: error: stdnoreturn.h: No such file or directory
In file included from libopts.c:13:
proto.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
<...>
--- src/libopts/autoopts.h.orig Mon Aug 25 18:15:08 2014
+++ src/libopts/autoopts.h Mon Aug 25 18:15:23 2014
@@ -32,7 +32,7 @@
#ifndef AUTOGEN_AUTOOPTS_H
#define AUTOGEN_AUTOOPTS_H
-#include <stdnoreturn.h>
+#define noreturn __attribute__((__noreturn__))
#define AO_NAME_LIMIT 127
#define AO_NAME_SIZE ((size_t)(AO_NAME_LIMIT + 1))