diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/poppler/private-namespace.patch | |
Diffstat (limited to 'vcpkg/ports/poppler/private-namespace.patch')
| -rw-r--r-- | vcpkg/ports/poppler/private-namespace.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/vcpkg/ports/poppler/private-namespace.patch b/vcpkg/ports/poppler/private-namespace.patch new file mode 100644 index 0000000..052fa0a --- /dev/null +++ b/vcpkg/ports/poppler/private-namespace.patch @@ -0,0 +1,50 @@ +diff --git a/poppler/Gfx.h b/poppler/Gfx.h +index 81a620b..ecfb449 100644 +--- a/poppler/Gfx.h ++++ b/poppler/Gfx.h +@@ -48,7 +48,10 @@ class PDFDoc; + class XRef; + class Array; + class Stream; ++namespace poppler_private { + class Parser; ++} ++using namespace poppler_private; + class Dict; + class Function; + class OutputDev; +diff --git a/poppler/Parser.h b/poppler/Parser.h +index b379b67..c3d85bd 100644 +--- a/poppler/Parser.h ++++ b/poppler/Parser.h +@@ -33,6 +33,7 @@ + // Parser + //------------------------------------------------------------------------ + ++namespace poppler_private { + class POPPLER_PRIVATE_EXPORT Parser + { + public: +@@ -72,5 +73,7 @@ private: + void shift(int objNum = -1); + void shift(const char *cmdA, int objNum); + }; ++} ++using namespace poppler_private; + + #endif +diff --git a/poppler/XRef.h b/poppler/XRef.h +index e2b2ca8..7d6acbb 100644 +--- a/poppler/XRef.h ++++ b/poppler/XRef.h +@@ -46,7 +46,10 @@ + + class Dict; + class Stream; ++namespace poppler_private { + class Parser; ++} ++using namespace poppler_private; + class ObjectStream; + + //------------------------------------------------------------------------ |