]> git.proxmox.com Git - ceph.git/blobdiff - 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
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libharu/tiff.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libharu/tiff.patch
new file mode 100644 (file)
index 0000000..2aabbe3
--- /dev/null
@@ -0,0 +1,25 @@
+diff --git a/src/hpdf_image_ccitt.c b/src/hpdf_image_ccitt.c
+index 2937fc90d..a1a35d0ed 100644
+--- a/src/hpdf_image_ccitt.c
++++ b/src/hpdf_image_ccitt.c
+@@ -21,7 +21,6 @@
+ #include <memory.h>
+ #include <assert.h>
+-#define       G3CODES
+ #include "t4.h"
+ typedef unsigned int uint32;
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 354ca7526..ee301d9af 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -99,6 +99,8 @@ if(PNG_FOUND)
+   set(ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES} ${PNG_LIBRARIES})
+ endif(PNG_FOUND)
++find_package(TIFF REQUIRED)
++list(APPEND ADDITIONAL_LIBRARIES TIFF::TIFF)
+ # =======================================================================
+ # configure header files, add compiler flags