Diff mutt-2.2.3 with a mutt-2.2.10

/usr/portage/mail-client/mutt/mutt-2.2.10.ebuild 2023-10-09 14:52:31.572368403 +0300
3 3

  
4 4
EAPI="7"
5 5

  
6
inherit flag-o-matic autotools
6
inherit autotools
7 7

  
8 8
PATCHREV="r0"
9 9
PATCHSET="gentoo-${PVR}/${PATCHREV}"
......
28 28
	autocrypt?        ( gpgme )"
29 29
SLOT="0"
30 30
LICENSE="GPL-2"
31
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
31
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
32 32
# yes, we overdepend on the backend impls here, hopefully one day we can
33 33
# have REQUIRED_USE do what it is made for again. bug #607360
34 34
CDEPEND="
......
99 99
			main.c || die "Failed to add bug instructions"
100 100
	fi
101 101

  
102
	local upatches=
103 102
	# allow user patches
104
	eapply_user && upatches=" with user patches"
103
	eapply_user
105 104

  
106 105
	# patch version string for bug reports
107 106
	local patchset=
108 107
	use vanilla || patchset=", ${PATCHSET}"
109
	sed -i -e 's|"Mutt %s (%s)"|"Mutt %s (%s'"${patchset}${upatches}"')"|' \
108
	sed -i -e 's|"Mutt %s (%s)"|"Mutt %s (%s'"${patchset}"')"|' \
110 109
		muttlib.c || die "failed patching in Gentoo version"
111 110

  
111
	# bug 864753: avoid warning about missing tools, currently the order
112
	# is lynx, w3m, elinks, so remove lynx or w3m when not installed,
113
	# elinks should be there via dep.
114
	if use doc ; then
115
		if ! has_version www-client/lynx ; then
116
			sed -i -e '/lynx/d' doc/Makefile.am || die
117
		fi
118
		if ! has_version www-client/w3m ; then
119
			sed -i -e '/w3m/d' doc/Makefile.am || die
120
		fi
121
	fi
122

  
112 123
	# many patches touch the buildsystem, we always need this
113 124
	AT_M4DIR="m4" eautoreconf
114 125

  
Thank you!