summaryrefslogtreecommitdiff
path: root/media-gfx/qiv/files/qiv-2.3.2-optional-tiff.patch
blob: e00ad10f93e2e1ee5c996c60b98e8cec9092ff98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Make tiff header usage conditional on LCMS support as intended.

--- ciberandy-qiv-14b562fe2fc3/qiv.h
+++ ciberandy-qiv-14b562fe2fc3/qiv.h
@@ -12,6 +12,7 @@
 #ifdef SUPPORT_LCMS
 #include <lcms2.h>
 #include <jpeglib.h>
+#include <tiffio.h>
 #endif
 
 /*
--- ciberandy-qiv-14b562fe2fc3/utils.c
+++ ciberandy-qiv-14b562fe2fc3/utils.c
@@ -17,7 +17,6 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <tiffio.h>
 #include <X11/extensions/dpms.h>
 #ifdef HAVE_EXIF
 #include <libexif/exif-loader.h>