pdf2djvu/pdf2djvu-poppler-0.18.patch

17 lines
440 B
Diff
Raw Normal View History

Index: pdf2djvu-0.7.10/pdf-backend.hh
===================================================================
--- pdf2djvu-0.7.10.orig/pdf-backend.hh
+++ pdf2djvu-0.7.10/pdf-backend.hh
@@ -77,7 +77,11 @@ namespace pdf
namespace link
{
+#if POPPLER_VERSION < 1700
typedef ::Link Link;
+#else
+ typedef ::AnnotLink Link;
+#endif
typedef ::LinkAction Action;
typedef ::LinkDest Destination;
typedef ::LinkGoTo GoTo;