--- /dev/null
+diff -Nupr libgdiplus-5.6.1~/configure libgdiplus-5.6.1/configure
+--- libgdiplus-5.6.1~/configure 2019-06-07 21:26:37.207823285 +0200
++++ libgdiplus-5.6.1/configure 2019-06-07 21:27:44.045156234 +0200
+@@ -14133,7 +14133,7 @@ fi
+
+
+ # Add xrender here so that we don't fail to find glib if we won't have xrender.pc
+-if test "x$no_x" != "xyes" && "x$x11_available" = "xyes"; then
++if test "x$no_x" != "xyes" && test "x$x11_available" = "xyes"; then
+ GDIPLUS_LIBS="$GDIPLUS_LIBS `$PKG_CONFIG --libs xrender `"
+ GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS `$PKG_CONFIG --cflags xrender `"
+ fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
IUSE="cairo"
!cairo? ( >=x11-libs/pango-1.20 )"
DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}/${P}-cofigure.patch"
+)
+
src_configure() {
econf \
--disable-dependency-tracking \