From ee1f930d042d73061cf0874bfce40d4ad14e1d54 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sat, 16 Mar 2024 04:19:42 +0300 Subject: graphics/gd: Unbreak tests --- graphics/gd/Makefile | 2 +- graphics/gd/files/patch-tests_fontconfig_Makemodule.am | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 graphics/gd/files/patch-tests_fontconfig_Makemodule.am 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 -- cgit v1.2.3