From 7d50d52c37a4d766849a363a58e25fe2a05b7bc3 Mon Sep 17 00:00:00 2001 From: Rahul Bedarkar Date: Fri, 10 Feb 2017 12:24:40 +0530 Subject: [PATCH] wget: add upstream patch to fix build failure Fixes: http://autobuild.buildroot.net/results/c86/c8657563e63e1012a3ae3c0c47663a951e280022 Signed-off-by: Rahul Bedarkar Signed-off-by: Thomas Petazzoni --- ...ipping-libunistring-with-disable-iri.patch | 35 +++++++++++++++++++ package/wget/wget.mk | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 package/wget/0002-Remove-skipping-libunistring-with-disable-iri.patch diff --git a/package/wget/0002-Remove-skipping-libunistring-with-disable-iri.patch b/package/wget/0002-Remove-skipping-libunistring-with-disable-iri.patch new file mode 100644 index 0000000000..a1461df930 --- /dev/null +++ b/package/wget/0002-Remove-skipping-libunistring-with-disable-iri.patch @@ -0,0 +1,35 @@ +From 990f3d67d340d226bbd4187f5d310a4d2bf2bfe4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tim=20R=C3=BChsen?= +Date: Mon, 6 Feb 2017 11:25:48 +0100 +Subject: [PATCH] Remove skipping libunistring with --disable-iri + +* configure.ac: Remove checking for IRI=no + +On certain systems, gnulib falls back to libunistring +for mbtowc() and wcwidth() (used in src/progress.c). + +Reported-by: Zhiming Wang +Signed-off-by: Rahul Bedarkar +--- + configure.ac | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8786e00..686f040 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -663,11 +663,6 @@ 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 +-- +2.6.2 + diff --git a/package/wget/wget.mk b/package/wget/wget.mk index e0f680bb7e..8698cdf3a7 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -11,6 +11,9 @@ WGET_DEPENDENCIES = host-pkgconf WGET_LICENSE = GPLv3+ WGET_LICENSE_FILES = COPYING +# For 0002-Remove-skipping-libunistring-with-disable-iri.patch +WGET_AUTORECONF = YES + # Prefer full-blown wget over busybox ifeq ($(BR2_PACKAGE_BUSYBOX),y) WGET_DEPENDENCIES += busybox -- 2.30.2