From d2e220f04fabc1069dc9ea1bcf76ba960ba634e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= Date: Tue, 24 Jan 2023 23:43:23 +0000 Subject: [PATCH] lynx: update to 2.9.0dev.12. --- srcpkgs/lynx/patches/21_do_not_strip_-g.diff | 17 +++++++++++++++++ srcpkgs/lynx/template | 11 +++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/lynx/patches/21_do_not_strip_-g.diff diff --git a/srcpkgs/lynx/patches/21_do_not_strip_-g.diff b/srcpkgs/lynx/patches/21_do_not_strip_-g.diff new file mode 100644 index 000000000000..851e303a6b58 --- /dev/null +++ b/srcpkgs/lynx/patches/21_do_not_strip_-g.diff @@ -0,0 +1,17 @@ +Description: Stop ./configure from stripping out -g from CFLAGS +Author: Andreas Metzler , + Simon Ruderich +Origin: vendor +Last-Update: 2021-07-27 + +--- a/configure ++++ b/configure +@@ -4098,7 +4098,7 @@ + test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` + ;; + (*) +- test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` ++ : + ;; + esac + fi diff --git a/srcpkgs/lynx/template b/srcpkgs/lynx/template index 880266b18190..0aa406d830f8 100644 --- a/srcpkgs/lynx/template +++ b/srcpkgs/lynx/template @@ -1,16 +1,19 @@ # Template file for 'lynx' pkgname=lynx -version=2.9.0dev.10 +version=2.9.0dev.12 revision=1 build_style=gnu-configure -configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6" +configure_args="--with-screen=ncurses --enable-widec --with-zlib --with-bzlib + --with-ssl --enable-ipv6 + cf_cv_header_path_ssl=${XBPS_CROSS_BASE}/usr/include/openssl" makedepends="zlib-devel bzip2-devel ncurses-devel openssl-devel" short_desc="Text browser for the World Wide Web" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="http://lynx.invisible-island.net/" -distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${version}.tar.bz2" -checksum=898ac82bcfcbd4b20ea39afdf66fd659b8773c7549623b0f8802bf392a41a912 +changelog="https://lynx.invisible-island.net/current/CHANGES" +distfiles="http://invisible-mirror.net/archives/lynx/tarballs/lynx${version}.tar.bz2" +checksum=a6455b159d00776d8ec1051285c972dc1f0c552d0571a0cff02a23ec146ee8e5 pre_configure() { sed -i configure \