Diff file-5.45 with a file-5.45-r1

/usr/portage/sys-apps/file/file-5.45-r1.ebuild 2023-10-09 14:52:35.372368498 +0300
7 7
DISTUTILS_OPTIONAL=1
8 8
PYTHON_COMPAT=( python3_{10..11} )
9 9

  
10
inherit distutils-r1 libtool toolchain-funcs multilib-minimal
10
inherit distutils-r1 toolchain-funcs multilib-minimal
11 11

  
12 12
if [[ ${PV} == 9999 ]] ; then
13 13
	EGIT_REPO_URI="https://github.com/glensc/file.git"
14 14
	inherit autotools git-r3
15 15
else
16 16
	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/file.asc
17
	inherit verify-sig
17
	inherit autotools verify-sig
18 18
	SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz"
19 19
	SRC_URI+=" verify-sig? ( ftp://ftp.astron.com/pub/file/${P}.tar.gz.asc )"
20 20

  
21
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
21
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
22 22

  
23 23
	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-file )"
24 24
fi
......
61 61
PATCHES=(
62 62
	"${FILESDIR}/file-5.43-seccomp-fstatat64-musl.patch" #789336, not upstream yet
63 63
	"${FILESDIR}/file-5.43-portage-sandbox.patch" #889046
64
	"${FILESDIR}/${P}-32-bit-time_t.patch"
65
	"${FILESDIR}/${P}-32-bit-time_t-deux.patch"
66
	"${FILESDIR}/${P}-weak-magic-shell.patch" #908401
64 67
)
65 68

  
66 69
src_prepare() {
67 70
	default
68 71

  
69
	if [[ ${PV} == 9999 ]] ; then
70
		eautoreconf
71
	else
72
		elibtoolize
73
	fi
72
	#if [[ ${PV} == 9999 ]] ; then
73
	#	eautoreconf
74
	#else
75
	#	elibtoolize
76
	#fi
77
	# Just for file-5.45-32-bit-time_t-deux.patch, drop in 5.46
78
	eautoreconf
74 79

  
75 80
	# Don't let python README kill main README, bug #60043
76 81
	mv python/README.md python/README.python.md || die
Thank you!