Diff numad-0.5_p20180531-r2 with a numad-9999

/usr/portage/sys-process/numad/numad-9999.ebuild 2023-10-09 14:52:35.584368504 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit linux-info systemd toolchain-funcs
6
inherit flag-o-matic linux-info systemd toolchain-funcs
7 7

  
8 8
if [[ ${PV} == 9999 ]]; then
9 9
	EGIT_REPO_URI="https://pagure.io/numad.git"
......
25 25

  
26 26
CONFIG_CHECK="~NUMA ~CPUSETS"
27 27

  
28
PATCHES=(
29
	# https://pagure.io/numad/pull-request/3
30
	"${FILESDIR}/${PN}-0.5-fix-sparse-node-ids.patch"
31

  
32
	# from debian/ubuntu: https://sources.debian.org/patches/numad
33
	"${FILESDIR}/${PN}-0.5-fix-build-for-no-NR-migrate-pages.patch"
34

  
35
	# from fedora: https://src.fedoraproject.org/rpms/numad/c/b9fdb5b1b09611ba164c04cd994e5e9ddf7fb8f4
36
	"${FILESDIR}/0001-numad_log-fix-buffer-overflow.patch"
37
)
38

  
39 28
src_configure() {
40 29
	tc-export AR CC RANLIB
30

  
31
	# FIXME: https://bugs.gentoo.org/890985
32
	# temp workaround
33
	filter-flags -D_FORTIFY_SOURCE=3
34
	append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
41 35
}
42 36

  
43 37
src_compile() {
Thank you!