mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user