]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libharu/tiff.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libharu / tiff.patch
1 diff --git a/src/hpdf_image_ccitt.c b/src/hpdf_image_ccitt.c
2 index 2937fc90d..a1a35d0ed 100644
3 --- a/src/hpdf_image_ccitt.c
4 +++ b/src/hpdf_image_ccitt.c
5 @@ -21,7 +21,6 @@
6 #include <memory.h>
7 #include <assert.h>
8
9 -#define G3CODES
10 #include "t4.h"
11
12 typedef unsigned int uint32;
13 diff --git a/CMakeLists.txt b/CMakeLists.txt
14 index 354ca7526..ee301d9af 100644
15 --- a/CMakeLists.txt
16 +++ b/CMakeLists.txt
17 @@ -99,6 +99,8 @@ if(PNG_FOUND)
18 set(ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES} ${PNG_LIBRARIES})
19 endif(PNG_FOUND)
20
21 +find_package(TIFF REQUIRED)
22 +list(APPEND ADDITIONAL_LIBRARIES TIFF::TIFF)
23
24 # =======================================================================
25 # configure header files, add compiler flags