Diff w3m-0.5.3_p20240916 with a w3m-0.5.6

/usr/portage/www-client/w3m/w3m-0.5.6.ebuild 2026-04-10 12:17:39.994065199 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools prefix toolchain-funcs flag-o-matic
6
inherit autotools prefix toolchain-funcs
7 7

  
8 8
DESCRIPTION="Text based WWW browser, supports tables and frames"
9 9
HOMEPAGE="https://git.sr.ht/~rkta/w3m"
10
# based on oldstable branch
11
COMMIT="b951c6ab75efd87810736b37ec053192c38cb80c"
12
SRC_URI="https://git.sr.ht/~rkta/w3m/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
13
S="${WORKDIR}/w3m-${COMMIT}"
10

  
11
if [[ ${PV} == *_p* ]] ; then
12
	COMMIT="b951c6ab75efd87810736b37ec053192c38cb80c"
13
	SRC_URI="https://git.sr.ht/~rkta/w3m/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
14
	S="${WORKDIR}/w3m-${COMMIT}"
15
else
16
	SRC_URI="https://git.sr.ht/~rkta/w3m/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17
	S="${WORKDIR}/w3m-v${PV}"
18
fi
14 19

  
15 20
LICENSE="w3m"
16 21
SLOT="0"
......
66 71
	local myconf=()
67 72
	local image imagelib
68 73

  
69
	# Bug: https://bugs.gentoo.org/943868
70
	append-cflags -std=gnu17
71

  
72 74
	if use gdk-pixbuf ; then
73 75
		imagelib="gtk3"
74 76
	elif use imlib ; then
Thank you!