$OpenBSD: patch-qt_poppler-page_cc,v 1.2 2012/07/13 15:03:19 kili Exp $
--- qt/poppler-page.cc.orig	Mon Jul  9 19:01:04 2012
+++ qt/poppler-page.cc	Mon Jul  9 23:02:19 2012
@@ -124,7 +124,7 @@ QString Page::getText(const Rectangle &r) const
   QString result;
   ::Page *p;
   
-  output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);
+  output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
   data->doc->data->doc.displayPageSlice(output_dev, data->index + 1, 72, 72,
       0, false, false, false, -1, -1, -1, -1);
   p = data->page;
@@ -155,7 +155,7 @@ QValueList<TextBox*> Page::textList() const
   
   QValueList<TextBox*> output_list;
   
-  output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);
+  output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
 
   data->doc->data->doc.displayPageSlice(output_dev, data->index + 1, 72, 72,
       0, false, false, false, -1, -1, -1, -1);
@@ -239,7 +239,7 @@ QValueList<Link*> Page::links() const
   Links *xpdfLinks = data->doc->data->doc.getLinks(data->index + 1);
   for (int i = 0; i < xpdfLinks->getNumLinks(); ++i)
   {
-    ::Link *xpdfLink = xpdfLinks->getLink(i);
+    ::AnnotLink *xpdfLink = xpdfLinks->getLink(i);
     
     double left, top, right, bottom;
     int leftAux, topAux, rightAux, bottomAux;
