summaryrefslogtreecommitdiff
path: root/media-gfx/qiv/files/qiv-3.0.4-lcms_tiff.patch
blob: f47f742e910dd0386929048640e394c06b0b9bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Applied by upstream w/ https://codeberg.org/ciberandy/qiv/commit/d8917ba.patch
tiff is only required w/ lcms enabled
https://bugs.gentoo.org/980178
--- a/utils.c
+++ b/utils.c
@@ -18,7 +18,9 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <errno.h>
+#ifdef SUPPORT_LCMS
 #include <tiffio.h>
+#endif
 #include <X11/extensions/dpms.h>
 #ifdef HAVE_EXIF
 #include <libexif/exif-loader.h>