diff options
author | tnn <tnn@pkgsrc.org> | 2011-02-12 10:00:07 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2011-02-12 10:00:07 +0000 |
commit | e30ba0d0f685d95cc59ba11de95133bf6e1f540a (patch) | |
tree | 240a215838cd6ca5aa0562947ff3a80c7fc45b26 /print | |
parent | 2a358938fd6af4e08fbc0f9a5e77312fd456c799 (diff) | |
download | pkgsrc-e30ba0d0f685d95cc59ba11de95133bf6e1f540a.tar.gz |
fix build with poppler-0.16.x
Diffstat (limited to 'print')
-rw-r--r-- | print/epdfview/distinfo | 3 | ||||
-rw-r--r-- | print/epdfview/patches/patch-ac | 13 |
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); |