From 675810158cfecff172c501b898ff379db0051af3 Mon Sep 17 00:00:00 2001 From: Daniel Campbell Date: Thu, 28 Sep 2017 15:07:43 -0700 Subject: [PATCH] net-im/toxic: correct version string in package Upstream's first commit after the Release fixes this. This is a quick fix that will need to be removed for the next version bump, assuming upstream remembers to update the string before tagging a release. No input or review was received for over two weeks, leaving me with little choice but to push, as it works for me. Thanks to Dennis New for reporting. Closes: https://bugs.gentoo.org/630370 Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- net-im/toxic/toxic-0.8.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net-im/toxic/toxic-0.8.0.ebuild b/net-im/toxic/toxic-0.8.0.ebuild index c8827675bcf8..4758d0bbde4b 100644 --- a/net-im/toxic/toxic-0.8.0.ebuild +++ b/net-im/toxic/toxic-0.8.0.ebuild @@ -35,6 +35,15 @@ pkg_setup() { use python && python-single-r1_pkg_setup } +src_prepare() { + default + # bug 630370: version string correction 0.7.2 -> 0.8.0 + # REMOVE THIS FOR toxic != 0.8.0 + sed -i \ + -e 's/^\(TOXIC_VERSION =\).*$/\1 0.8.0/' \ + cfg/global_vars.mk || die "Version string correction failed." +} + src_configure() { if ! use av; then export DISABLE_AV=1 -- 2.26.2