1 |
commit: b19b7b7bfa8854ff98ffe5bee099e256cae9fa23 |
2 |
Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 18:39:05 2022 +0000 |
4 |
Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 19:17:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19b7b7b |
7 |
|
8 |
net-voip/murmur: 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/murmur/murmur-1.4.230-r2.ebuild | 7 ++++++- |
17 |
net-voip/murmur/murmur-9999.ebuild | 7 ++++++- |
18 |
2 files changed, 12 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/net-voip/murmur/murmur-1.4.230-r2.ebuild b/net-voip/murmur/murmur-1.4.230-r2.ebuild |
21 |
index d0e26545bd3d..cb402564c70b 100644 |
22 |
--- a/net-voip/murmur/murmur-1.4.230-r2.ebuild |
23 |
+++ b/net-voip/murmur/murmur-1.4.230-r2.ebuild |
24 |
@@ -3,7 +3,7 @@ |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-inherit cmake systemd readme.gentoo-r1 tmpfiles |
29 |
+inherit cmake flag-o-matic systemd readme.gentoo-r1 tmpfiles |
30 |
|
31 |
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" |
32 |
HOMEPAGE="https://wiki.mumble.info" |
33 |
@@ -125,6 +125,11 @@ src_configure() { |
34 |
if [[ "${PV}" != 9999 ]] ; then |
35 |
mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" ) |
36 |
fi |
37 |
+ |
38 |
+ # https://bugs.gentoo.org/832978 |
39 |
+ # fix tests (and possibly runtime issues) on arches with unsigned chars |
40 |
+ append-cxxflags -fsigned-char |
41 |
+ |
42 |
cmake_src_configure |
43 |
} |
44 |
|
45 |
|
46 |
diff --git a/net-voip/murmur/murmur-9999.ebuild b/net-voip/murmur/murmur-9999.ebuild |
47 |
index d5c37496cf5d..00fd25ef4af5 100644 |
48 |
--- a/net-voip/murmur/murmur-9999.ebuild |
49 |
+++ b/net-voip/murmur/murmur-9999.ebuild |
50 |
@@ -3,7 +3,7 @@ |
51 |
|
52 |
EAPI=7 |
53 |
|
54 |
-inherit cmake systemd readme.gentoo-r1 tmpfiles |
55 |
+inherit cmake flag-o-matic systemd readme.gentoo-r1 tmpfiles |
56 |
|
57 |
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" |
58 |
HOMEPAGE="https://wiki.mumble.info" |
59 |
@@ -119,6 +119,11 @@ src_configure() { |
60 |
if [[ "${PV}" != 9999 ]] ; then |
61 |
mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" ) |
62 |
fi |
63 |
+ |
64 |
+ # https://bugs.gentoo.org/832978 |
65 |
+ # fix tests (and possibly runtime issues) on arches with unsigned chars |
66 |
+ append-cxxflags -fsigned-char |
67 |
+ |
68 |
cmake_src_configure |
69 |
} |