Diff cw-1.0.16-r3 with a cw-1.0.16-r5

/usr/portage/app-misc/cw/cw-1.0.16-r5.ebuild 2023-10-09 14:52:28.792368332 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 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
WANT_AUTOMAKE="none"
7
inherit autotools flag-o-matic toolchain-funcs
7 8

  
8 9
DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands"
9
HOMEPAGE="http://cwrapper.sourceforge.net/"
10
HOMEPAGE="http://cwrapper.sourceforge.net"
10 11
SRC_URI="mirror://sourceforge/cwrapper/${P}.tar.bz2"
11 12

  
12 13
LICENSE="GPL-2"
......
18 19
	"${FILESDIR}"/${PV}-path.patch
19 20
	"${FILESDIR}"/${PV}-collision.patch
20 21
	"${FILESDIR}"/${PV}-format-security.patch
22
	"${FILESDIR}"/${P}-replace-isastream-with-fcntl.patch
23
	"${FILESDIR}"/${P}-fix-configure-for-newer-autotools.patch
24
	"${FILESDIR}"/${P}-Respect-CPPFLAGS.patch
21 25
)
22 26

  
27
src_prepare() {
28
	default
29

  
30
	gunzip "${S}"/man/*.gz || die
31

  
32
	eautoreconf
33
}
34

  
23 35
src_configure() {
24 36
	tc-export CC
37

  
38
	append-cppflags -D_GNU_SOURCE
39

  
25 40
	econf
26 41
}
27 42

  
......
36 51
	exeinto /usr/libexec/cw
37 52
	doexe def/*
38 53

  
39
	doman man/cwu*
40
	newman man/cw.* color-wrapper
54
	doman man/cwu.1
55
	doman man/cwe.1
56
	newman man/cw.1 color-wrapper
41 57
	dodoc CHANGES CONTRIB INSTALL README PLATFORM doc/README*
42 58

  
43 59
	dobin bin/{cwu,colorcfg}
Thank you!