summaryrefslogtreecommitdiff
path: root/office/epdfview/poppler-0162.patch
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@slackbuilds.org>2011-03-31 11:32:20 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-03-31 23:51:26 -0500
commit81ae0d778befd6b6412c5096ac46952dce7865f4 (patch)
tree7062f3c7f546acdce95206b0bba5bc61098d1d17 /office/epdfview/poppler-0162.patch
parent349c7f5f387fe31da04188f02fa9b54ac45e9f4f (diff)
downloadslackbuilds-81ae0d778befd6b6412c5096ac46952dce7865f4.tar.gz
office/epdfview: Patched for new poppler.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/epdfview/poppler-0162.patch')
-rw-r--r--office/epdfview/poppler-0162.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/office/epdfview/poppler-0162.patch b/office/epdfview/poppler-0162.patch
new file mode 100644
index 0000000000..7cad8d9c6b
--- /dev/null
+++ b/office/epdfview/poppler-0162.patch
@@ -0,0 +1,24 @@
+--- src/IDocument.cxx 2011-02-06 14:45:34.173334040 +0100
++++ src/IDocument.cxx 2011-02-06 14:51:23.173334040 +0100
+@@ -135,7 +135,11 @@
+ m_FindPage = 0;
+ m_Format = NULL;
+ m_Keywords = NULL;
++#if defined (HAVE_POPPLER_0_15_1)
++ m_Linearized = FALSE;
++#else
+ m_Linearized = NULL;
++#endif
+ m_ModifiedDate = NULL;
+ m_PageCache = NULL;
+ m_PageCacheAge = 0;
+@@ -164,7 +168,9 @@
+ g_free (m_FileName);
+ g_free (m_Format);
+ g_free (m_Keywords);
++#if !defined (HAVE_POPPLER_0_15_1)
+ g_free (m_Linearized);
++#endif
+ g_free (m_ModifiedDate);
+ g_free (m_Password);
+ g_free (m_Producer);