Diff fio-3.27-r4 with a fio-3.30-r1

/usr/portage/sys-block/fio/fio-3.30-r1.ebuild 2023-10-09 14:52:35.436368500 +0300
16 16

  
17 17
LICENSE="GPL-2"
18 18
SLOT="0"
19
KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc ppc64 ~riscv x86"
20
IUSE="aio curl glusterfs gnuplot gtk io-uring numa python rbd rdma static tcmalloc test zbc zlib"
19
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
20
IUSE="aio curl glusterfs gnuplot gtk io-uring nfs numa python rbd rdma static tcmalloc test zbc zlib"
21 21
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
22 22
	gnuplot? ( python )
23 23
	io-uring? ( aio )"
......
31 31
		net-misc/curl:=[static-libs(+)]
32 32
		dev-libs/openssl:0=[static-libs(+)]
33 33
	)
34
	nfs? ( net-fs/libnfs:=[static-libs(+)] )
34 35
	glusterfs? ( sys-cluster/glusterfs[static-libs(+)] )
35 36
	gtk? ( dev-libs/glib:2[static-libs(+)] )
36 37
	io-uring? ( sys-libs/liburing:=[static-libs(+)] )
......
56 57

  
57 58
PATCHES=(
58 59
	"${FILESDIR}"/fio-2.2.13-libmtd.patch
59
	# Upstream patch, should be able to drop in the next release
60
	"${FILESDIR}"/fio-3.27-drop-raw.patch
61 60
)
62 61

  
63 62
src_prepare() {
......
81 80
	# TODO: cuda
82 81
	# TODO: libnbd - not packaged in Gentoo
83 82
	# TODO: pmem - not packaged in Gentoo
83
	# libnfs option does not work as expected:
84
	# $(usex nfs '' '--disable-libnfs') \
84 85
	set -- \
85 86
	./configure \
86 87
		--disable-optimizations \
87 88
		--extra-cflags="${CFLAGS} ${CPPFLAGS}" \
88 89
		--cc="$(tc-getCC)" \
89 90
		--disable-pmem \
91
		$(usex nfs '' '--disable-nfs') \
90 92
		$(usex curl '' '--disable-http') \
91 93
		$(usex glusterfs '' '--disable-gfapi') \
92 94
		$(usex gtk '--enable-gfio' '') \
......
95 97
		$(usex rdma '' '--disable-rdma') \
96 98
		$(usex static '--build-static' '') \
97 99
		$(usex tcmalloc '' '--disable-tcmalloc')
98
	echo "$@"
100
	echo "$@" |tr ' ' '\n'
99 101
	"$@" || die 'configure failed'
100 102
}
101 103

  
......
142 144
	# This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
143 145
	rm "${ED}"/usr/bin/genfio || die
144 146

  
145
	dodoc README REPORTING-BUGS HOWTO
147
	dodoc README.rst REPORTING-BUGS HOWTO.rst
146 148
	docinto examples
147 149
	dodoc examples/*
148 150
}
Thank you!