pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/epdfview fix build with poppler-0.16.x
details: https://anonhg.NetBSD.org/pkgsrc/rev/277d1c0c786a
branches: trunk
changeset: 585330:277d1c0c786a
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Feb 12 10:00:07 2011 +0000
description:
fix build with poppler-0.16.x
diffstat:
print/epdfview/distinfo | 3 ++-
print/epdfview/patches/patch-ac | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r bbd0f42f5916 -r 277d1c0c786a print/epdfview/distinfo
--- a/print/epdfview/distinfo Sat Feb 12 05:08:25 2011 +0000
+++ b/print/epdfview/distinfo Sat Feb 12 10:00:07 2011 +0000
@@ -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 -r bbd0f42f5916 -r 277d1c0c786a print/epdfview/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/epdfview/patches/patch-ac Sat Feb 12 10:00:07 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index