summaryrefslogtreecommitdiff
path: root/sci-libs/gdal/files/gdal-2.4.1-poppler-0.76.patch
blob: f15e540932d1d9e3f3dadb2a10056e19fa3e0ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 8958528f9b5737581afa7249b0e16f2ff89d727e Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Sun, 21 Apr 2019 12:19:56 +0200
Subject: [PATCH] PDF: add support for Poppler 0.76.0

---
 gdal/frmts/pdf/pdfsdk_headers.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frmts/pdf/pdfsdk_headers.h b/frmts/pdf/pdfsdk_headers.h
index 41e48ae91d6..1f77429bf9b 100644
--- a/frmts/pdf/pdfsdk_headers.h
+++ b/frmts/pdf/pdfsdk_headers.h
@@ -55,7 +55,10 @@
 #else
 typedef unsigned char Guchar;
 #endif
+
+#if !(POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 76)
 #include <goo/GooList.h>
+#endif
 
 /* begin of poppler xpdf includes */
 #include <poppler/Object.h>