diff options
author | 2025-01-12 22:50:57 +0100 | |
---|---|---|
committer | 2025-01-13 18:11:52 +0100 | |
commit | 29d0899d90adbac2f777a6c1ea9e8651c4f50f96 (patch) | |
tree | 5e8979ac95d2904e22019c9c8a7cd75ca700f4ea /sci-libs/gdal/files | |
parent | app-office/libreoffice: Fix build w/ app-text/poppler-24.12 (diff) | |
download | gentoo-29d0899d90adbac2f777a6c1ea9e8651c4f50f96.tar.gz gentoo-29d0899d90adbac2f777a6c1ea9e8651c4f50f96.tar.bz2 gentoo-29d0899d90adbac2f777a6c1ea9e8651c4f50f96.zip |
sci-libs/gdal: Fix build w/ app-text/poppler-24.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/gdal/files')
-rw-r--r-- | sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch b/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch new file mode 100644 index 000000000000..9634de6e3941 --- /dev/null +++ b/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch @@ -0,0 +1,27 @@ +From ada4fa75910dab127ee4b79256a676da6d4636c0 Mon Sep 17 00:00:00 2001 +From: Even Rouault <even.rouault@spatialys.com> +Date: Mon, 9 Dec 2024 18:18:31 +0100 +Subject: [PATCH] PDF: fix build issue on CondaForge build infrastructure (gcc + 13.3) + +Cf https://github.com/conda-forge/gdal-feedstock/pull/1019#issuecomment-2528710051 +--- + frmts/pdf/pdfsdk_headers.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/frmts/pdf/pdfsdk_headers.h b/frmts/pdf/pdfsdk_headers.h +index 00cc4067fe5b..d2a3a449d124 100644 +--- a/frmts/pdf/pdfsdk_headers.h ++++ b/frmts/pdf/pdfsdk_headers.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. */ |