diff options
Diffstat (limited to 'media-libs/tiff/files')
-rw-r--r-- | media-libs/tiff/files/tiff-4.4.0-hylafaxplus-regression.patch | 34 | ||||
-rw-r--r-- | media-libs/tiff/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch | 32 |
2 files changed, 0 insertions, 66 deletions
diff --git a/media-libs/tiff/files/tiff-4.4.0-hylafaxplus-regression.patch b/media-libs/tiff/files/tiff-4.4.0-hylafaxplus-regression.patch deleted file mode 100644 index c640f6e1b1a7..000000000000 --- a/media-libs/tiff/files/tiff-4.4.0-hylafaxplus-regression.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://bugs.gentoo.org/883641 -https://gitlab.com/libtiff/libtiff/-/issues/489 -https://gitlab.com/libtiff/libtiff/-/commit/72de8fd00be8a583a6b16cc0b700105020d249ba - -From 72de8fd00be8a583a6b16cc0b700105020d249ba Mon Sep 17 00:00:00 2001 -From: Even Rouault <even.rouault@spatialys.com> -Date: Tue, 29 Nov 2022 14:57:27 +0100 -Subject: [PATCH] TIFFWriteRawStrip(): restore capabilities to append data in - the current strip (fixes #489) - -This fixes a regression of libtiff 4.4.0 ---- a/libtiff/tif_write.c -+++ b/libtiff/tif_write.c -@@ -341,10 +341,13 @@ TIFFWriteRawStrip(TIFF* tif, uint32_t strip, void* data, tmsize_t cc) - return ((tmsize_t) -1); - } - -- tif->tif_curstrip = strip; -+ if (tif->tif_curstrip != strip) -+ { -+ tif->tif_curstrip = strip; - -- /* this informs TIFFAppendToStrip() we have changed or reset strip */ -- tif->tif_curoff = 0; -+ /* this informs TIFFAppendToStrip() we have changed or reset strip */ -+ tif->tif_curoff = 0; -+ } - - if (td->td_stripsperimage == 0) { - TIFFErrorExtR(tif, module,"Zero strips per image"); --- -GitLab - - diff --git a/media-libs/tiff/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch b/media-libs/tiff/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch deleted file mode 100644 index 574a02dd3487..000000000000 --- a/media-libs/tiff/files/tiff-4.4.0_rc1-skip-thumbnail-test.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://gitlab.com/libtiff/libtiff/-/merge_requests/334 - -From 62a49eeb3f0c986c5fcbfc53cd3d7ef2a3fab9b3 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sat, 21 May 2022 01:01:35 +0100 -Subject: [PATCH] test/tiffcp-thumbnail.sh: skip test if tools aren't built - -In Gentoo, we avoid building the tools for multilib (32-bit, x86) builds on -amd64/x86_64 because we only need the library to keep binary applications working. - -This causes a test failure in just tiffcp-thumbnail.sh as the 'thumbnail' -binary isn't built. Skip it if unavailable as it's only a single test. - -Fixes: https://gitlab.com/libtiff/libtiff/-/issues/421 ---- a/test/tiffcp-thumbnail.sh -+++ b/test/tiffcp-thumbnail.sh -@@ -4,7 +4,12 @@ - # - . ${srcdir:-.}/common.sh - -+if [ ! -x "${TIFFCP}" ] || [ ! -x "${THUMBNAIL}" ] ; then -+ # https://gitlab.com/libtiff/libtiff/-/issues/421 -+ exit 77 -+fi -+ - outfile1=o-tiffcp-thumbnail-in.tif - outfile2=o-tiffcp-thumbnail-out.tif - f_test_convert "${TIFFCP} -c g3:1d" "${IMG_MINISWHITE_1C_1B}" "${outfile1}" --f_test_convert "${THUMBNAIL}" "${outfile1}" "${outfile2}" -\ No newline at end of file -+f_test_convert "${THUMBNAIL}" "${outfile1}" "${outfile2}" -GitLab |