From bcb6e63aa9ddd7aefaf7f382b3475b0743b084c0 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 15 Mar 2020 17:50:31 +0100 Subject: [PATCH] lynx: build with libidn2 --- lynx/build.sh | 6 +++++- lynx/meta/ChangeLog | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) 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