Diff file-5.45-r4 with a file-5.46-r2

/usr/portage/sys-apps/file/file-5.46-r2.ebuild 2025-11-06 18:18:08.608166672 +0300
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7 7
DISTUTILS_OPTIONAL=1
8
PYTHON_COMPAT=( python3_{10..13} )
8
PYTHON_COMPAT=( python3_{11..14} )
9 9

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

  
......
14 14
	inherit autotools git-r3
15 15
else
16 16
	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/file.asc
17
	inherit autotools verify-sig
17
	inherit libtool verify-sig
18 18
	SRC_URI="https://astron.com/pub/file/${P}.tar.gz"
19 19
	SRC_URI+=" verify-sig? ( https://astron.com/pub/file/${P}.tar.gz.asc )"
20 20

  
......
60 60
PATCHES=(
61 61
	"${FILESDIR}/file-5.43-seccomp-fstatat64-musl.patch" #789336, not upstream yet
62 62
	"${FILESDIR}/file-5.45-seccomp-sandbox.patch"
63
	"${FILESDIR}/${P}-32-bit-time_t.patch"
64
	"${FILESDIR}/${P}-32-bit-time_t-deux.patch"
65
	"${FILESDIR}/${P}-weak-magic-shell.patch" #908401
63
	"${FILESDIR}/file-5.46-zip.patch"
64
	"${FILESDIR}/file-5.46-buffer-overflow.patch"
66 65
)
67 66

  
68 67
src_prepare() {
69 68
	default
70 69

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

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