Сравнение pciutils-3.8.0-r1 с pciutils-3.9.0

/usr/portage/sys-apps/pciutils/pciutils-3.9.0.ebuild 2023-10-09 14:52:35.396368499 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
30 30

  
31 31
MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h )
32 32

  
33
PATCHES=(
34
	"${FILESDIR}"/${PN}-3.8.0-no-which.patch
35
	"${FILESDIR}"/${PN}-3.8.0-pkg-config.patch
36
)
37

  
38 33
switch_config() {
39 34
	[[ $# -ne 2 ]] && return 1
40 35
	local opt=$1 val=$2
......
61 56
		# ```
62 57
		# 2.38
63 58
		# ```
64
		local ver=$($(tc-getLD) --version 2>&1 | head -1 | rev | cut -d' ' -f1 | rev)
59
		local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut -d' ' -f1 | rev)
65 60

  
66 61
		if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then
67 62
			# Skip if unrecognised format so we don't pass something
Спасибо!