aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-03-16 01:19:42 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-03-16 01:20:09 +0000
commitee1f930d042d73061cf0874bfce40d4ad14e1d54 (patch)
tree4855dc2ff7add0e9c52411eb73e0919be1203ab6
parent7d8958ed6f935167ba0ae5247b507cde402c1ad2 (diff)
downloadports-ee1f930d042d73061cf0874bfce40d4ad14e1d54.tar.gz
ports-ee1f930d042d73061cf0874bfce40d4ad14e1d54.zip
graphics/gd: Unbreak tests
-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