diff --git a/lynx/build.sh b/lynx/build.sh index 61efe20..004e3dc 100755 --- a/lynx/build.sh +++ b/lynx/build.sh @@ -7,7 +7,7 @@ # Check the following 4 variables before running the script topdir=lynx version=2.8.9rel.1 -pkgver=1 +pkgver=2 source[0]=https://invisible-mirror.net/archives/$topdir/tarballs/${topdir}${version}.tar.bz2 # If there are no patches, simply comment this #patch[0]= @@ -27,6 +27,10 @@ prep() generic_prep setdir source ${__gsed} -i 's|^#! /bin/sh|#!/bin/bash|' configure + # libidn is obsolete but libidn2 is API compatible with libidn + ${__gsed} -i 's/idna.h/idn2.h/' configure WWW/Library/Implementation/HTParse.c + ${__gsed} -i '/idn-free.h/d' WWW/Library/Implementation/HTParse.c + ${__gsed} -i 's/-lidn/-lidn2/' configure } reg build diff --git a/lynx/meta/ChangeLog b/lynx/meta/ChangeLog index dfb5110..13fd800 100644 --- a/lynx/meta/ChangeLog +++ b/lynx/meta/ChangeLog @@ -1,5 +1,8 @@ CHANGELOG --------- +* Sun Mar 15 2020 Tom G. Christensen - 2.8.9rel.1-2 +- Build with libidn2 instead of the obsolete libidn + * Thu Apr 04 2019 Tom G. Christensen - 2.8.9rel.1-1 - Update to 2.8.9rel.1