aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/libgdiplus/Makefile1
-rw-r--r--x11-toolkits/libgdiplus/files/patch-configure11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/libgdiplus/Makefile b/x11-toolkits/libgdiplus/Makefile
index 5fd723f61c77..8edfe53d3daf 100644
--- a/x11-toolkits/libgdiplus/Makefile
+++ b/x11-toolkits/libgdiplus/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libgdiplus
PORTVERSION= 5.6
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
diff --git a/x11-toolkits/libgdiplus/files/patch-configure b/x11-toolkits/libgdiplus/files/patch-configure
new file mode 100644
index 000000000000..c2b7ab970bc4
--- /dev/null
+++ b/x11-toolkits/libgdiplus/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2018-03-28 19:28:08 UTC
++++ configure
+@@ -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