1 |
commit: 675810158cfecff172c501b898ff379db0051af3 |
2 |
Author: Daniel Campbell <zlg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 28 22:07:43 2017 +0000 |
4 |
Commit: Daniel Campbell <zlg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 22:07:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67581015 |
7 |
|
8 |
net-im/toxic: correct version string in package |
9 |
|
10 |
Upstream's first commit after the Release fixes this. This is a quick |
11 |
fix that will need to be removed for the next version bump, assuming |
12 |
upstream remembers to update the string before tagging a release. |
13 |
|
14 |
No input or review was received for over two weeks, leaving me with |
15 |
little choice but to push, as it works for me. |
16 |
|
17 |
Thanks to Dennis New for reporting. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/630370 |
20 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
21 |
|
22 |
net-im/toxic/toxic-0.8.0.ebuild | 9 +++++++++ |
23 |
1 file changed, 9 insertions(+) |
24 |
|
25 |
diff --git a/net-im/toxic/toxic-0.8.0.ebuild b/net-im/toxic/toxic-0.8.0.ebuild |
26 |
index c8827675bcf..4758d0bbde4 100644 |
27 |
--- a/net-im/toxic/toxic-0.8.0.ebuild |
28 |
+++ b/net-im/toxic/toxic-0.8.0.ebuild |
29 |
@@ -35,6 +35,15 @@ pkg_setup() { |
30 |
use python && python-single-r1_pkg_setup |
31 |
} |
32 |
|
33 |
+src_prepare() { |
34 |
+ default |
35 |
+ # bug 630370: version string correction 0.7.2 -> 0.8.0 |
36 |
+ # REMOVE THIS FOR toxic != 0.8.0 |
37 |
+ sed -i \ |
38 |
+ -e 's/^\(TOXIC_VERSION =\).*$/\1 0.8.0/' \ |
39 |
+ cfg/global_vars.mk || die "Version string correction failed." |
40 |
+} |
41 |
+ |
42 |
src_configure() { |
43 |
if ! use av; then |
44 |
export DISABLE_AV=1 |