main/links: upgrade to 2.30

This commit is contained in:
Celeste 2024-07-29 02:47:14 +00:00
parent ce009cd706
commit bb90b33cd3
2 changed files with 4 additions and 24 deletions

View file

@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=links
pkgver=2.29
pkgrel=2
pkgver=2.30
pkgrel=0
pkgdesc="Web browser running in both graphics and text mode"
url="http://links.twibright.com/"
arch="all"
@ -15,9 +15,7 @@ makedepends="
zstd-dev
"
subpackages="$pkgname-doc"
source="http://links.twibright.com/download/links-$pkgver.tar.bz2
configure.patch
"
source="http://links.twibright.com/download/links-$pkgver.tar.bz2"
options="!check" # No test suite.
build() {
@ -40,6 +38,5 @@ package() {
}
sha512sums="
5ea8b2fd0eb74d9dc2b45614aef6ee878fe686dff9bcee75ac6ea01f6a7331670f7709233d31986fc64ad86ce549616a4471057837b6caf15af6d1c5c503ac75 links-2.29.tar.bz2
64256e2e9ecbe59bedcac038f560383a45d65aa75a09ff1fe5882a95c029df5c94729b7f1c625af1baca9a2884e37e0d5b1a8202808cac5e41d189659e46d3f5 configure.patch
265f71fcd80a160b48b9572c4ca326c26a45032fbca69be3f3b6e60af136152daa22884e097ef719db950607425eb0e8c7f8714047f2476000301fd2b76c3806 links-2.30.tar.bz2
"

View file

@ -1,17 +0,0 @@
This patch fixes a build failure when CC=clang.
Links builds fine without it using GCC 13, but
there's no harm in fixing this implicit-int error.
diff --git a/configure b/configure
index 354c422..88e0d53 100755
--- a/configure
+++ b/configure
@@ -1001,7 +1001,7 @@ cat > conftest.$ac_ext << EOF
#line 1004 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes