From 46e059e4c3b8048e0ff2f3a50647d6c49d0f9226 Mon Sep 17 00:00:00 2001 From: Kenton Groombridge Date: Sun, 3 Jul 2022 14:37:42 -0400 Subject: 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 --- net-voip/mumble/mumble-1.4.230-r2.ebuild | 6 +++++- net-voip/mumble/mumble-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'net-voip') 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 } -- cgit v1.2.3-65-gdbad