summaryrefslogtreecommitdiff
path: root/print/epdfview
diff options
context:
space:
mode:
authortnn <tnn>2011-02-12 10:00:07 +0000
committertnn <tnn>2011-02-12 10:00:07 +0000
commit4eec95b7bd5df6b02f0d14a8db52d0b3ffaa5e10 (patch)
tree240a215838cd6ca5aa0562947ff3a80c7fc45b26 /print/epdfview
parent0539ffa15d5ce2ab8c17a23512703d59e7437d75 (diff)
downloadpkgsrc-4eec95b7bd5df6b02f0d14a8db52d0b3ffaa5e10.tar.gz
fix build with poppler-0.16.x
Diffstat (limited to 'print/epdfview')
-rw-r--r--print/epdfview/distinfo3
-rw-r--r--print/epdfview/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/print/epdfview/distinfo b/print/epdfview/distinfo
index 79ebfb00420..14423c1dddf 100644
--- a/print/epdfview/distinfo
+++ b/print/epdfview/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2009/08/14 23:20:29 snj Exp $
+$NetBSD: distinfo,v 1.5 2011/02/12 10:00:07 tnn Exp $
SHA1 (epdfview-0.1.7.tar.bz2) = ff46942c285b8e2c28766a38cdfce1a018b4a015
RMD160 (epdfview-0.1.7.tar.bz2) = 485399d1982a3f8128322ee7e13d46225573bae3
Size (epdfview-0.1.7.tar.bz2) = 443609 bytes
SHA1 (patch-aa) = 6c5b2766836cf3610c92feb5fdcc5de0dd75534d
SHA1 (patch-ab) = 67ab5dd3c5c2d4af5e2aeddc77e4714c9e96b008
+SHA1 (patch-ac) = 979978571cb5f0972ecea6f40d65a3e0bf7b7556
diff --git a/print/epdfview/patches/patch-ac b/print/epdfview/patches/patch-ac
new file mode 100644
index 00000000000..1d9714b4734
--- /dev/null
+++ b/print/epdfview/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2011/02/12 10:00:08 tnn Exp $
+
+--- src/PDFDocument.cxx.orig 2009-02-28 21:00:35.000000000 +0000
++++ src/PDFDocument.cxx
+@@ -686,7 +686,7 @@ PDFDocument::setTextSelection (DocumentR
+ repairEmpty(textRect);
+
+ #if defined (HAVE_POPPLER_0_6_0)
+- gchar *text = poppler_page_get_text(page, POPPLER_SELECTION_GLYPH,
++ gchar *text = poppler_page_get_selected_text(page, POPPLER_SELECTION_GLYPH,
+ &textRect);
+ #else // !HAVE_POPPLER_0_6_0
+ gchar *text = poppler_page_get_text(page, &textRect);