Diff libsmi-0.5.0-r1 with a libsmi-0.5.0-r5

/usr/portage/net-libs/libsmi/libsmi-0.5.0-r5.ebuild 2023-10-09 14:52:34.592368479 +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

  
6
inherit autotools
5 7

  
6 8
DESCRIPTION="A Library to Access SMI MIB Information"
7
HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/"
9
HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/ https://gitlab.ibr.cs.tu-bs.de/nm/libsmi"
8 10
SRC_URI="https://www.ibr.cs.tu-bs.de/projects/libsmi/download/${P}.tar.gz"
9 11

  
10 12
LICENSE="BSD"
11 13
SLOT="0"
12 14
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
13
IUSE="static-libs"
14 15
RESTRICT="test"
15 16

  
16
src_configure() {
17
	econf $(use_enable static-libs static)
17
# libsmi-0.5.0-implicit-function-declarations.patch touches parser
18
BDEPEND="
19
	sys-devel/flex
20
	app-alternatives/yacc
21
"
22

  
23
PATCHES=(
24
	"${FILESDIR}"/${PN}-0.5.0-implicit-function-declarations.patch
25
	"${FILESDIR}"/${PN}-0.5.0-clang-15-configure.patch
26
	"${FILESDIR}"/${PN}-0.5.0-fix-macro-clang16.patch
27
)
28

  
29
src_prepare() {
30
	default
31
	eautoreconf
18 32
}
19 33

  
20 34
src_test() {
Thank you!