net-libs/libslirp: Fix build failure for meson.build index out of bounds
authorZac Medico <zmedico@gentoo.org>
Fri, 24 Apr 2020 02:35:35 +0000 (19:35 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 24 Apr 2020 02:37:01 +0000 (19:37 -0700)
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 <zmedico@gentoo.org>
net-libs/libslirp/libslirp-4.3.0.ebuild

index dcd7b799b5451cdafa30ebcc6deda27535cdb6e6..011abdb103bedfb3742196c09d13e327730fcbfd 100644 (file)
@@ -19,3 +19,8 @@ RDEPEND="dev-libs/glib:="
 DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+       default
+       echo "${PV}" > .tarball-version || die
+}