From: Zac Medico Date: Fri, 24 Apr 2020 02:35:35 +0000 (-0700) Subject: net-libs/libslirp: Fix build failure for meson.build index out of bounds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=895bbb1c02e4c4e7322db7c3ae43ce4e3985d95c;p=gentoo.git net-libs/libslirp: Fix build failure for meson.build index out of bounds Program build-aux/meson-dist found: YES (/var/tmp/portage/net-libs/libslirp-4.3.0/work/libslirp-v4.3.0/build-aux/meson-dist) meson.build:13:0: ERROR: Index 1 out of bounds of array of size 1. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico --- diff --git a/net-libs/libslirp/libslirp-4.3.0.ebuild b/net-libs/libslirp/libslirp-4.3.0.ebuild index dcd7b799b545..011abdb103be 100644 --- a/net-libs/libslirp/libslirp-4.3.0.ebuild +++ b/net-libs/libslirp/libslirp-4.3.0.ebuild @@ -19,3 +19,8 @@ RDEPEND="dev-libs/glib:=" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} + +src_prepare() { + default + echo "${PV}" > .tarball-version || die +}