summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/tiff/files/tiff-3.7.4-assign-dont-compare.patch')
-rw-r--r--media-libs/tiff/files/tiff-3.7.4-assign-dont-compare.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/tiff/files/tiff-3.7.4-assign-dont-compare.patch b/media-libs/tiff/files/tiff-3.7.4-assign-dont-compare.patch
new file mode 100644
index 000000000000..0fb5fc3876ef
--- /dev/null
+++ b/media-libs/tiff/files/tiff-3.7.4-assign-dont-compare.patch
@@ -0,0 +1,11 @@
+--- libtiff/tif_write.c
++++ libtiff/tif_write.c
+@@ -523,7 +523,7 @@ TIFFWriteCheck(TIFF* tif, int tiles, con
+ * because this field is used in other parts of library even
+ * in the single band case.
+ */
+- tif->tif_dir.td_planarconfig == PLANARCONFIG_CONTIG;
++ tif->tif_dir.td_planarconfig = PLANARCONFIG_CONTIG;
+ } else {
+ if (!TIFFFieldSet(tif, FIELD_PLANARCONFIG)) {
+ TIFFError(module,