plug-ins: fix TIFF warnings about unknown tags not filtered out anymore

Due to a change in the format string in libtiff, warnings about unknown
fields were not filtered out anymore.

Adjust our filtering of warning messages so we catch this again since
end-users don't need to worry about this and we don't need the
possible extra issues.

(cherry picked from commit ac5a6e56b7)
This commit is contained in:
Jacob Boerema
2022-08-22 12:36:34 -04:00
parent 982881d612
commit a8e8be0249

View File

@ -192,7 +192,9 @@ tiff_io_warning (const gchar *module,
/* for older versions of libtiff? */
else if (! strcmp (fmt, "unknown field with tag %d (0x%x) ignored") ||
/* Since libtiff 4.0.0alpha. */
! strcmp (fmt, "Unknown field with tag %d (0x%x) encountered"))
! strcmp (fmt, "Unknown field with tag %d (0x%x) encountered") ||
/* Since libtiff 4.3.0rc1. */
! strcmp (fmt, "Unknown field with tag %u (0x%x) encountered"))
{
va_list ap_test;