void-packages/srcpkgs/GraphicsMagick/patches/disable_perlmagick_tests.patch
Colin Booth 9cc9f893a4 GraphicsMagick: update to 1.3.36
Assorted bug fixes, enhancements, and build cleanups, full list here:
http://www.graphicsmagick.org/NEWS.html#december-26-2020

Additionally, PerlMagick is built but tests are disabled since there is
currently an installation order issue with the tests. Specifically,
the PerlMagick tests require GraphicsMagick to be installed for the
tests to pass but the tests are run as part of the main suite. See:
https://sourceforge.net/p/graphicsmagick/bugs/580/ for more details.
2021-02-14 17:28:06 -03:00

24 lines
934 B
Diff

# workaround for https://sourceforge.net/p/graphicsmagick/bugs/580/
--- Makefile.am.orig 2021-02-14 00:46:02.239418403 -0800
+++ Makefile.am 2021-02-14 00:46:48.431547444 -0800
@@ -79,7 +79,6 @@
# Tests to run
TESTS = \
- $(PERLMAGICK_TESTS) \
$(TESTS_TESTS) \
$(MAGICKPP_TESTS) \
$(WAND_TESTS) \
--- Makefile.in.orig 2021-02-14 00:49:51.414058625 -0800
+++ Makefile.in 2021-02-14 00:50:19.996138472 -0800
@@ -4767,7 +4767,7 @@
@WITH_PERL_TRUE@PERLMAGICK_DISTCLEAN_LOCAL_TARGETS = clean-perl
@WITH_PERL_TRUE@PERLMAGICK_MAINTAINER_CLEAN_LOCAL_TARGETS = distclean-local
#PERLMAGICK_CHECK_LOCAL_TARGETS = check-perl
-@WITH_PERL_TRUE@PERLMAGICK_TESTS = PerlMagick/PerlMagickCheck.sh
+#@WITH_PERL_TRUE@PERLMAGICK_TESTS = PerlMagick/PerlMagickCheck.sh
@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLMAGICK_CHECKSCRIPTS = perl-build
#PERLMAGICK_CHECKSCRIPTS = perl-build