aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-30 08:10:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-30 08:10:54 +0000
commit525e0aa74a4ff0d39323aaa19d814d288ceadd3a (patch)
tree37373c5877a5814b74efcae655b2ccf1c1299573 /main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
parent2814e2175eb346da3abcae6933b324d03534929c (diff)
downloadaports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.bz2
aports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.xz
main/lua-lgob: rebuild against poppler-0.16
Diffstat (limited to 'main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch')
-rw-r--r--main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch b/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
new file mode 100644
index 0000000000..177c26b653
--- /dev/null
+++ b/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
@@ -0,0 +1,42 @@
+From 096324789b3471be367c3075b51204b94cd70905 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Thu, 30 Dec 2010 08:06:52 +0000
+Subject: [PATCH] poppler: reflect the poppler_page_get_text API change
+
+http://cgit.freedesktop.org/poppler/poppler/commit/?id=b257428150e2c13dcc24fd8f75e4ee2c679ab414
+---
+ poppler/src/poppler.def | 11 ++++++++++-
+ 1 files changed, 10 insertions(+), 1 deletions(-)
+
+diff --git a/poppler/src/poppler.def b/poppler/src/poppler.def
+index fbe20de..255587a 100644
+--- a/poppler/src/poppler.def
++++ b/poppler/src/poppler.def
+@@ -1499,7 +1499,7 @@ defFunction('poppler_page_render_to_ps',
+ }
+ )
+
+-defFunction('poppler_page_get_text',
++defFunction('poppler_page_get_selected_text',
+ {
+ class = 'PopplerPage',
+ since = '0.1',
+@@ -1508,6 +1508,15 @@ defFunction('poppler_page_get_text',
+ }
+ )
+
++defFunction('poppler_page_get_text',
++ {
++ class = 'PopplerPage',
++ since = '0.1',
++ args = {'GObject* none'},
++ ret = 'char* full'
++ }
++)
++
+ defFunction('poppler_page_get_selection_region',
+ {
+ class = 'PopplerPage',
+--
+1.7.3.4
+