https://github.com/OSGeo/gdal/blob/v3.10.2/NEWS.md OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=204
17 lines
651 B
Diff
17 lines
651 B
Diff
diff --git a/frmts/pdf/pdfsdk_headers_poppler.h b/frmts/pdf/pdfsdk_headers_poppler.h
|
|
index 00cc4067fe5b..d2a3a449d124 100644
|
|
--- a/frmts/pdf/pdfsdk_headers_poppler.h
|
|
+++ b/frmts/pdf/pdfsdk_headers_poppler.h
|
|
@@ -19,6 +19,11 @@
|
|
|
|
#ifdef HAVE_POPPLER
|
|
|
|
+// The "#define private public" hacks we do below do not play well with the
|
|
+// sstream header.
|
|
+// Cf https://github.com/conda-forge/gdal-feedstock/pull/1019#issuecomment-2528710051
|
|
+#include <sstream>
|
|
+
|
|
/* Horrible hack because there's a conflict between struct FlateDecode of */
|
|
/* include/poppler/Stream.h and the FlateDecode() function of */
|
|
/* pdfium/core/include/fpdfapi/fpdf_parser.h. */
|