lynx: build with libidn2
This commit is contained in:
parent
9bc0c578f6
commit
bcb6e63aa9
@ -7,7 +7,7 @@
|
|||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=lynx
|
topdir=lynx
|
||||||
version=2.8.9rel.1
|
version=2.8.9rel.1
|
||||||
pkgver=1
|
pkgver=2
|
||||||
source[0]=https://invisible-mirror.net/archives/$topdir/tarballs/${topdir}${version}.tar.bz2
|
source[0]=https://invisible-mirror.net/archives/$topdir/tarballs/${topdir}${version}.tar.bz2
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
#patch[0]=
|
#patch[0]=
|
||||||
@ -27,6 +27,10 @@ prep()
|
|||||||
generic_prep
|
generic_prep
|
||||||
setdir source
|
setdir source
|
||||||
${__gsed} -i 's|^#! /bin/sh|#!/bin/bash|' configure
|
${__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
|
reg build
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
---------
|
---------
|
||||||
|
* Sun Mar 15 2020 Tom G. Christensen <swpkg@jupiterrise.com> - 2.8.9rel.1-2
|
||||||
|
- Build with libidn2 instead of the obsolete libidn
|
||||||
|
|
||||||
* Thu Apr 04 2019 Tom G. Christensen <swpkg@jupiterrise.com> - 2.8.9rel.1-1
|
* Thu Apr 04 2019 Tom G. Christensen <swpkg@jupiterrise.com> - 2.8.9rel.1-1
|
||||||
- Update to 2.8.9rel.1
|
- Update to 2.8.9rel.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user