commit:     46e059e4c3b8048e0ff2f3a50647d6c49d0f9226
Author:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 18:37:42 2022 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 19:17:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e059e4

net-voip/mumble: append -fsigned-char to CXXFLAGS

This fixes tests (and possibly runtime issues) on arches with unsigned
chars.

Bug: https://bugs.gentoo.org/832978
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 net-voip/mumble/mumble-1.4.230-r2.ebuild | 6 +++++-
 net-voip/mumble/mumble-9999.ebuild       | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/net-voip/mumble/mumble-1.4.230-r2.ebuild 
b/net-voip/mumble/mumble-1.4.230-r2.ebuild
index 50d5964ae8fe..ee18ba0d74f9 100644
--- a/net-voip/mumble/mumble-1.4.230-r2.ebuild
+++ b/net-voip/mumble/mumble-1.4.230-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat 
software"
 HOMEPAGE="https://wiki.mumble.info";
@@ -110,6 +110,10 @@ src_configure() {
                mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" )
        fi
 
+       # https://bugs.gentoo.org/832978
+       # fix tests (and possibly runtime issues) on arches with unsigned chars
+       append-cxxflags -fsigned-char
+
        cmake_src_configure
 }
 

diff --git a/net-voip/mumble/mumble-9999.ebuild 
b/net-voip/mumble/mumble-9999.ebuild
index 8973f0ef46ff..cbe94df0b160 100644
--- a/net-voip/mumble/mumble-9999.ebuild
+++ b/net-voip/mumble/mumble-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat 
software"
 HOMEPAGE="https://wiki.mumble.info";
@@ -106,6 +106,10 @@ src_configure() {
                mycmakeargs+=( -DBUILD_NUMBER="$(ver_cut 3)" )
        fi
 
+       # https://bugs.gentoo.org/832978
+       # fix tests (and possibly runtime issues) on arches with unsigned chars
+       append-cxxflags -fsigned-char
+
        cmake_src_configure
 }
 

Reply via email to