diff options
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.patch | 42 |
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 + |