Diff libserialport-0.1.1-r1 with a libserialport-9999

/usr/portage/dev-libs/libserialport/libserialport-9999.ebuild 2025-09-19 18:21:08.094895107 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="8"
......
10 10
	inherit git-r3
11 11
else
12 12
	SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
13
	KEYWORDS="amd64 ~arm ~arm64 x86"
13
	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
14 14
fi
15 15

  
16 16
DESCRIPTION="Cross platform serial port access library"
......
23 23
BDEPEND="virtual/pkgconfig"
24 24

  
25 25
PATCHES=(
26
	"${FILESDIR}"/${P}-kernel-termiox.patch
26
	"${FILESDIR}"/${PN}-0.1.2-termios-glibc-2.42-1.patch
27
	"${FILESDIR}"/${PN}-0.1.2-termios-glibc-2.42-2.patch
28
	"${FILESDIR}"/${PN}-0.1.2-termios-glibc-2.42-3.patch
27 29
)
28 30

  
29 31
src_prepare() {
30 32
	default
31 33

  
32 34
	#[[ ${PV} == "9999" ]] && eautoreconf
33
	# Needed for the termiox patch, should be able to drop on next release
34
	# (change back this + inherit to just for 9999)
35

  
36
	# Unconditional eautoreconf for glibc-2.42 patches
35 37
	eautoreconf
36 38
}
37 39

  
Thank you!