Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-voip/mumble/
Date: Sun, 03 Jul 2022 19:18:14
Message-Id: 1656875864.46e059e4c3b8048e0ff2f3a50647d6c49d0f9226.concord@gentoo
1 commit: 46e059e4c3b8048e0ff2f3a50647d6c49d0f9226
2 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 3 18:37:42 2022 +0000
4 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 19:17:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e059e4
7
8 net-voip/mumble: append -fsigned-char to CXXFLAGS
9
10 This fixes tests (and possibly runtime issues) on arches with unsigned
11 chars.
12
13 Bug: https://bugs.gentoo.org/832978
14 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
15
16 net-voip/mumble/mumble-1.4.230-r2.ebuild | 6 +++++-
17 net-voip/mumble/mumble-9999.ebuild | 6 +++++-
18 2 files changed, 10 insertions(+), 2 deletions(-)
19
20 diff --git a/net-voip/mumble/mumble-1.4.230-r2.ebuild b/net-voip/mumble/mumble-1.4.230-r2.ebuild
21 index 50d5964ae8fe..ee18ba0d74f9 100644
22 --- a/net-voip/mumble/mumble-1.4.230-r2.ebuild
23 +++ b/net-voip/mumble/mumble-1.4.230-r2.ebuild
24 @@ -3,7 +3,7 @@
25
26 EAPI=7
27
28 -inherit cmake xdg
29 +inherit cmake flag-o-matic xdg
30
31 DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
32 HOMEPAGE="https://wiki.mumble.info"
33 @@ -110,6 +110,10 @@ src_configure() {
34 mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" )
35 fi
36
37 + # https://bugs.gentoo.org/832978
38 + # fix tests (and possibly runtime issues) on arches with unsigned chars
39 + append-cxxflags -fsigned-char
40 +
41 cmake_src_configure
42 }
43
44
45 diff --git a/net-voip/mumble/mumble-9999.ebuild b/net-voip/mumble/mumble-9999.ebuild
46 index 8973f0ef46ff..cbe94df0b160 100644
47 --- a/net-voip/mumble/mumble-9999.ebuild
48 +++ b/net-voip/mumble/mumble-9999.ebuild
49 @@ -3,7 +3,7 @@
50
51 EAPI=7
52
53 -inherit cmake xdg
54 +inherit cmake flag-o-matic xdg
55
56 DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
57 HOMEPAGE="https://wiki.mumble.info"
58 @@ -106,6 +106,10 @@ src_configure() {
59 mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" )
60 fi
61
62 + # https://bugs.gentoo.org/832978
63 + # fix tests (and possibly runtime issues) on arches with unsigned chars
64 + append-cxxflags -fsigned-char
65 +
66 cmake_src_configure
67 }