Diff pingu-1.5 with a pingu-1.5-r1

/usr/portage/net-misc/pingu/pingu-1.5-r1.ebuild 2023-10-09 14:52:34.672368481 +0300
1
# Copyright 1999-2018 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=6
4
EAPI=8
5 5

  
6
inherit systemd tmpfiles toolchain-funcs
6
inherit edo systemd tmpfiles toolchain-funcs
7 7

  
8 8
DESCRIPTION="Policy routing daemon with failover and load-balancing"
9 9
HOMEPAGE="https://github.com/ncopa/pingu"
......
14 14
KEYWORDS="~amd64 ~x86"
15 15
IUSE="debug doc"
16 16

  
17
RDEPEND="dev-libs/libev:="
17
RDEPEND="dev-libs/libev"
18 18
DEPEND="${RDEPEND}
19
	sys-kernel/linux-headers
19
	sys-kernel/linux-headers"
20
BDEPEND="
20 21
	virtual/pkgconfig
21
	doc? ( app-text/asciidoc )"
22
	doc? ( app-text/asciidoc )
23
"
22 24

  
23 25
# Fix QA with install into path /run/pingu must be created at runtime
24 26
PATCHES=( "${FILESDIR}"/"${P}"-makefile.patch )
25 27

  
28
QA_CONFIG_IMPL_DECL_SKIP=( 'strlcpy' )
29

  
26 30
src_prepare() {
27 31
	default
28 32

  
29 33
	# Fix compilation issue
30
	sed -i '/icp->un.frag.__unused = 0;/d' src/icmp.c \
31
		|| die "sed failed for src/icmp.c"
34
	sed -e '/icp->un.frag.__unused = 0;/d' -i src/icmp.c || die
32 35
}
33 36

  
34 37
src_configure() {
35
	./configure "$(use_enable debug)" "$(use_enable doc)" \
36
		--prefix=/usr || die "configure failed"
38
	local myconf=(
39
		$(use_enable debug)
40
		$(use_enable doc)
41
		--prefix=/usr
42
	)
43
	edo ./configure "${myconf[@]}"
37 44
}
38 45

  
39 46
src_compile() {
Thank you!