aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gd/Makefile2
-rw-r--r--graphics/gd/files/patch-tests_fontconfig_Makemodule.am12
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 8238fc462852..4ef8e55edc1d 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libgd
PORTVERSION= 2.3.3
-PORTREVISION= 9
+PORTREVISION= 10
PORTEPOCH= 1
CATEGORIES+= graphics
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/gd-${PORTVERSION}/
diff --git a/graphics/gd/files/patch-tests_fontconfig_Makemodule.am b/graphics/gd/files/patch-tests_fontconfig_Makemodule.am
new file mode 100644
index 000000000000..35ece1fe06d3
--- /dev/null
+++ b/graphics/gd/files/patch-tests_fontconfig_Makemodule.am
@@ -0,0 +1,12 @@
+https://github.com/libgd/libgd/issues/367#issuecomment-2000499957
+
+--- tests/fontconfig/Makemodule.am.orig 2021-09-11 04:41:44 UTC
++++ tests/fontconfig/Makemodule.am
+@@ -1,5 +1,5 @@
+-if HAVE_LIBFONTCONFIG
+-if HAVE_LIBFREETYPE
++if !HAVE_LIBFONTCONFIG
++if !HAVE_LIBFREETYPE
+ libgd_test_programs += \
+ fontconfig/basic
+ endif