libgnutls: Update from 3.6.6 to 3.6.7

This commit is contained in:
Fredrik Fornwall 2019-03-30 00:15:02 +01:00
parent a82cc69d6e
commit 88667d6327
2 changed files with 2 additions and 17 deletions

View File

@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn2, libunistring"
TERMUX_PKG_VERSION=3.6.6
TERMUX_PKG_SHA256=bb9acab8af2ac430edf45faaaa4ed2c51f86e57cb57689be6701aceef4732ca7
TERMUX_PKG_VERSION=3.6.7
TERMUX_PKG_SHA256=5b3409ad5aaf239808730d1ee12fdcd148c0be00262c7edf157af655a8a188e2
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnutls/v${TERMUX_PKG_VERSION:0:3}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEVPACKAGE_DEPENDS="libidn2-dev, libnettle-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -1,15 +0,0 @@
Include <arpa/inet.h> for htons() and ntohs().
Should be the portable solution specified by man pages.
diff -u -r ../gnutls-3.3.8/src/socket.c ./src/socket.c
--- ../gnutls-3.3.8/src/socket.c 2014-08-23 07:19:59.000000000 +0200
+++ ./src/socket.c 2014-09-19 22:48:54.148437077 +0200
@@ -46,6 +46,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <arpa/inet.h>
#ifndef _WIN32
#include <signal.h>
#endif