packages: zathura/zathura-poppler-0.16.patch (NEW) - fix build with poppler...

lisu lisu at pld-linux.org
Wed Dec 29 13:06:34 CET 2010


Author: lisu                         Date: Wed Dec 29 12:06:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with poppler 0.16

---- Files affected:
packages/zathura:
   zathura-poppler-0.16.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/zathura/zathura-poppler-0.16.patch
diff -u /dev/null packages/zathura/zathura-poppler-0.16.patch:1.1
--- /dev/null	Wed Dec 29 13:06:34 2010
+++ packages/zathura/zathura-poppler-0.16.patch	Wed Dec 29 13:06:29 2010
@@ -0,0 +1,12 @@
+diff -up zathura-0.0.8.1/zathura.c.poppler15 zathura-0.0.8.1/zathura.c
+--- zathura-0.0.8.1/zathura.c.poppler15	2010-10-06 16:35:44.966101001 -0400
++++ zathura-0.0.8.1/zathura.c	2010-10-06 16:35:58.124101001 -0400
+@@ -4300,7 +4300,7 @@ cb_view_button_release(GtkWidget* widget
+ 
+   /* get selected text */
+   g_static_mutex_lock(&(Zathura.Lock.pdflib_lock));
+-  char* selected_text = poppler_page_get_text(
++  char* selected_text = poppler_page_get_selected_text(
+       Zathura.PDF.pages[Zathura.PDF.page_number]->page,SELECTION_STYLE,
+       &rectangle);
+ 
================================================================


More information about the pld-cvs-commit mailing list