dev-cpp/muParser: Remove USE=wchar

Unfortunately, this innocent looking USE flag incurs a silent ABI change
that let's all its reverse dependencies fail. A number of the reverse
dependencies of muParser already set muParser[-wchar] explicitly and the
rest is probably also not compiling.

Thus, remove the use flag.

If someone wants to have wchar_t support in muParser then a proper
solution would be to slot the package and install both ABI variants
simultaneously.

Closes: https://bugs.gentoo.org/880133
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
Matthias Maier
2023-01-22 20:06:16 -06:00
parent ee92e61335
commit f191cdee2c
3 changed files with 2 additions and 7 deletions

View File

@@ -14,7 +14,4 @@
<remote-id type="sourceforge">muparser</remote-id>
<remote-id type="github">beltoforion/muparser</remote-id>
</upstream>
<use>
<flag name="wchar">Add support for wide character (wchar_t)</flag>
</use>
</pkgmetadata>

View File

@@ -16,7 +16,7 @@ S="${WORKDIR}"/muparser-${PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wchar"
IUSE="doc openmp test"
RESTRICT="!test? ( test )"
S="${S}${suffix}"
@@ -24,7 +24,6 @@ S="${S}${suffix}"
src_configure() {
local mycmakeargs=(
-DENABLE_OPENMP=$(usex openmp)
-DENABLE_WIDE_CHAR=$(usex wchar)
)
cmake_src_configure
}

View File

@@ -13,13 +13,12 @@ S="${WORKDIR}"/muparser-${PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wchar"
IUSE="doc openmp test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DENABLE_OPENMP=$(usex openmp)
-DENABLE_WIDE_CHAR=$(usex wchar)
)
cmake_src_configure
}