diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile index dc94591c2..ec7f72d64 100644 --- a/libs/gnutls/Makefile +++ b/libs/gnutls/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gnutls PKG_VERSION:=3.8.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_FLAGS:=no-mips16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz @@ -132,6 +132,7 @@ CONFIGURE_ARGS+= \ --without-idn \ --with-default-trust-store-dir=/etc/ssl/certs/ \ --with-included-unistring \ + --with-included-libunistring \ --with-librt-prefix="$(LIBRT_ROOT_DIR)/" \ --with-pic \ --with-system-priority-file="" \ diff --git a/libs/gnutls/patches/030-unistring-optional.patch b/libs/gnutls/patches/030-unistring-optional.patch new file mode 100644 index 000000000..6b42caee8 --- /dev/null +++ b/libs/gnutls/patches/030-unistring-optional.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -471,6 +471,8 @@ DEFAULT_VALGRINDFLAGS='-q --error-exitco + + gl_VALGRIND_TESTS_DEFAULT_NO + ++gl_LIBUNISTRING_OPTIONAL ++ + dnl Note that g*l_INIT are run after we check for library capabilities, + dnl to prevent issues from caching lib dependencies. See discussion + dnl in https://bugs.gentoo.org/show_bug.cgi?id=494940 and