Diff scrollz-2.3-r1 with a scrollz-2.3.1

/usr/portage/net-irc/scrollz/scrollz-2.3.1.ebuild 2023-10-09 14:52:34.464368476 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

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

  
8 8
MY_P="ScrollZ-${PV}"
9 9

  
10 10
DESCRIPTION="Advanced IRC client based on ircII"
11 11
HOMEPAGE="https://www.scrollz.info/"
12 12
SRC_URI="https://www.scrollz.info/download/${MY_P}.tar.gz"
13
S="${WORKDIR}/ScrollZ-${MY_P}"
13
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz"
14
S="${WORKDIR}/${MY_P}"
14 15

  
15 16
LICENSE="BSD"
16 17
SLOT="0"
......
20 21

  
21 22
BDEPEND="virtual/pkgconfig"
22 23
DEPEND="
23
	sys-libs/ncurses:0=
24
	sys-libs/ncurses:=
24 25
	virtual/libcrypt:=
25
	gmp? ( dev-libs/gmp:0= )
26
	gmp? ( dev-libs/gmp:= )
26 27
	ssl? (
27
		gnutls? ( net-libs/gnutls:0= )
28
		!gnutls? ( dev-libs/openssl:0= )
28
		gnutls? ( net-libs/gnutls:= )
29
		!gnutls? ( dev-libs/openssl:= )
29 30
	)
30 31
"
31 32
RDEPEND="${DEPEND}"
32 33

  
33 34
PATCHES=(
34
	"${FILESDIR}/${PN}-2.3-fcommon.patch"
35
	# https://github.com/ScrollZ/ScrollZ/pull/30
36
	"${WORKDIR}"/${P}-patches
35 37
)
36 38

  
37 39
src_configure() {
40
	# Many -Wdeprecated-non-prototype warnings
41
	append-cflags -std=gnu89
42

  
38 43
	local _myssl
39 44

  
40 45
	if use ssl; then
Thank you!