From 50148276a1201984e5a093b6bc44957e02f107fb Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Mon, 18 Sep 2017 20:40:16 +0300 Subject: [PATCH] wget: try to fix libunistring dependency wget 1.91.1 configure script tries to link libunistring if that is found. That lib is rather large and is not that essential for normal operations, so instead of depending on that, try to avoid linking it. Revert an upstream commit that removed the clearance of libunistring data in case IRI is explicitly disabled (like we have it). Reference to upstream commits: http://git.savannah.gnu.org/cgit/wget.git/commit/?id=00ae9b4ee2caa6640776e9777e7ef5a374d082c0 http://git.savannah.gnu.org/cgit/wget.git/commit/?id=990f3d67d340d226bbd4187f5d310a4d2bf2bfe4 Signed-off-by: Hannu Nyman --- net/wget/Makefile | 2 +- ...evert-removal-of-libunistring-check-clear.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch diff --git a/net/wget/Makefile b/net/wget/Makefile index f0f352344..1e784052e 100644 --- a/net/wget/Makefile +++ b/net/wget/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wget PKG_VERSION:=1.19.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) diff --git a/net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch b/net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch new file mode 100644 index 000000000..6c9373724 --- /dev/null +++ b/net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch @@ -0,0 +1,14 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -663,6 +663,11 @@ if test "X$iri" != "Xno"; then + # ]) + ]) + fi ++if test "X$iri" = "Xno"; then ++ # we don't need libunistring - clear settings from gnulib module ++ LIBUNISTRING="" ++ LTLIBUNISTRING="" ++fi + + dnl + dnl Check for UUID