From 9c77065a52897026dc3cd4c16e8eec9273befc5c Mon Sep 17 00:00:00 2001 From: Nicholas Vinson Date: Sat, 15 Oct 2016 13:24:12 -0700 Subject: net-irc/hexchat: fix libgdiplus.so & Werror errors Fixes the System.DllNotFounException: libgdiplus.so error when the theme-manager USE flag is set. The problem is that only mono[minimal] is buildable right now, so mono[-minimal] does not work. However, mono[minimal] does not pull in libgdiplus.so. Therefore, the "fix" is to pull in libgdiplus as a dependency if the user is using mono[minimal]. Unfortunately, this doesn't fix the mono[-minimal] use case. Additionally, removes all Werror* flags from configure.ac. Gentoo-bug: 578290 Gentoo-bug: 597126 Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2563 Signed-off-by: David Seifert --- net-irc/hexchat/hexchat-9999.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net-irc/hexchat/hexchat-9999.ebuild') diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-9999.ebuild index 530b1572184d..21b0714eae56 100644 --- a/net-irc/hexchat/hexchat-9999.ebuild +++ b/net-irc/hexchat/hexchat-9999.ebuild @@ -40,7 +40,13 @@ COMMON_DEPEND="dev-libs/glib:2 !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) - theme-manager? ( dev-lang/mono )" + theme-manager? ( + || ( + ( dev-lang/mono[minimal] dev-dotnet/libgdiplus ) + dev-lang/mono[-minimal] + ) + )" + RDEPEND="${COMMON_DEPEND} spell? ( app-text/enchant )" DEPEND="${COMMON_DEPEND} -- cgit v1.2.3-65-gdbad