Browse Source

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 <hannu.nyman@iki.fi>
lilik-openwrt-22.03
Hannu Nyman 7 years ago
parent
commit
50148276a1
2 changed files with 15 additions and 1 deletions
  1. +1
    -1
      net/wget/Makefile
  2. +14
    -0
      net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch

+ 1
- 1
net/wget/Makefile View File

@ -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)


+ 14
- 0
net/wget/patches/100-revert-removal-of-libunistring-check-clear.patch View File

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

Loading…
Cancel
Save