Browse Source

libgnutls: Update from 3.6.6 to 3.6.7

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
4faf80aca2
  1. 4
      packages/libgnutls/build.sh
  2. 15
      packages/libgnutls/socket.c.patch

4
packages/libgnutls/build.sh

@ -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="

15
packages/libgnutls/socket.c.patch

@ -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
Loading…
Cancel
Save