gnutls: update

This commit is contained in:
Mark Brand 2016-01-08 11:03:59 +01:00
parent 67c2134529
commit 7ce44c1a67
2 changed files with 2 additions and 29 deletions

View File

@ -57,30 +57,3 @@ index b126c30..a97d445 100644
2.5.0
From 46316cbe2097bfebc0681819ae11df4b77a1315d Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Tue, 24 Nov 2015 12:54:32 +0100
Subject: [PATCH 3/3] tools: don't call endservent in windows
diff --git a/src/socket.c b/src/socket.c
index 8991089..be8a4a1 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -33,8 +33,11 @@
#include <stdlib.h>
#include <unistd.h>
#ifndef _WIN32
-#include <arpa/inet.h>
-#include <signal.h>
+# include <arpa/inet.h>
+# include <signal.h>
+#else
+# undef endservent
+# define endservent()
#endif
#include <socket.h>
#include <c-ctype.h>
--
2.5.0

View File

@ -2,8 +2,8 @@
# See index.html for further information.
PKG := gnutls
$(PKG)_VERSION := 3.4.7
$(PKG)_CHECKSUM := c1be9e4b30295d7b5f96fa332c6a908e6fa2254377b67811301fca92eb882e5a
$(PKG)_VERSION := 3.4.8
$(PKG)_CHECKSUM := e07c05dea525c6bf0dd8017fc5b89d886954f04fedf457ecd1ce488ac3b86ab7
$(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
$(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://mirrors.dotsrc.org/gnupg/gnutls/v3.4/$($(PKG)_FILE)