summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/referencer/files/referencer-1.1.6-poppler016.patch')
-rw-r--r--app-text/referencer/files/referencer-1.1.6-poppler016.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/app-text/referencer/files/referencer-1.1.6-poppler016.patch b/app-text/referencer/files/referencer-1.1.6-poppler016.patch
deleted file mode 100644
index 44df537..0000000
--- a/app-text/referencer/files/referencer-1.1.6-poppler016.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-=== modified file 'configure.in'
---- configure.in 2009-06-21 11:07:49 +0000
-+++ configure.in 2011-03-10 12:40:12 +0000
-@@ -49,12 +49,14 @@
- AC_CHECK_HEADERS(boost/regex.hpp)
- AC_SUBST(DEPS_CFLAGS)
- AC_SUBST(DEPS_LIBS)
-+LIBS="$LIBS $DEPS_LIBS"
-
- dnl Special case for poppler-glib < 0.6
- case $($PKG_CONFIG --modversion poppler-glib) in
- 0.5.*)
- AC_DEFINE(OLD_POPPLER,"1","Using poppler < 0.6");;
- esac
-+AC_CHECK_FUNCS([poppler_page_get_selected_text])
-
-
- dnl I18n
-
-=== modified file 'src/Document.C'
---- src/Document.C 2011-03-10 09:35:05 +0000
-+++ src/Document.C 2011-03-10 12:40:12 +0000
-@@ -503,7 +503,11 @@
- textdump += poppler_page_get_text (page, rect);
- #else
- #warning Using poppler >= 0.6
-- textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect);
-+ #ifdef HAVE_POPPLER_PAGE_GET_SELECTED_TEXT
-+ textdump += poppler_page_get_text (page);
-+ #else
-+ textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect);
-+ #endif
- #endif
-
- poppler_rectangle_free (rect);
-