[csw-devel] SF.net SVN: gar:[21543] csw/mgar/pkg/evince/trunk
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Tue Jul 23 16:39:53 CEST 2013
Revision: 21543
http://gar.svn.sourceforge.net/gar/?rev=21543&view=rev
Author: cgrzemba
Date: 2013-07-23 14:39:49 +0000 (Tue, 23 Jul 2013)
Log Message:
-----------
evince/trunk: add fix poppler api core dump on free of linearized
Modified Paths:
--------------
csw/mgar/pkg/evince/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/evince/trunk/files/0001-fix-poppler-api-linearized-problem.patch
Modified: csw/mgar/pkg/evince/trunk/Makefile
===================================================================
--- csw/mgar/pkg/evince/trunk/Makefile 2013-07-23 13:29:20 UTC (rev 21542)
+++ csw/mgar/pkg/evince/trunk/Makefile 2013-07-23 14:39:49 UTC (rev 21543)
@@ -24,6 +24,7 @@
PATCHFILES += 0001-honor-aclocal_flags.patch
PATCHFILES += 0002-poppler-api-changed.patch
PATCHFILES += 0001-add-norunpath-to-allowed-compiler-flags-ltmain.sh.patch
+PATCHFILES += 0001-fix-poppler-api-linearized-problem.patch
PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
Added: csw/mgar/pkg/evince/trunk/files/0001-fix-poppler-api-linearized-problem.patch
===================================================================
--- csw/mgar/pkg/evince/trunk/files/0001-fix-poppler-api-linearized-problem.patch (rev 0)
+++ csw/mgar/pkg/evince/trunk/files/0001-fix-poppler-api-linearized-problem.patch 2013-07-23 14:39:49 UTC (rev 21543)
@@ -0,0 +1,41 @@
+From c0353a442793dc139da3b4be79162523c0e0dafb Mon Sep 17 00:00:00 2001
+From: Carsten Grzemba <cgrzemba at opencsw.org>
+Date: Tue, 23 Jul 2013 16:20:01 +0200
+Subject: [PATCH] fix poppler api linearized problem
+
+---
+ backend/pdf/ev-poppler.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
+index e5380ad..dd2cab3 100644
+--- a/backend/pdf/ev-poppler.cc
++++ b/backend/pdf/ev-poppler.cc
+@@ -685,6 +685,7 @@ pdf_document_get_info (EvDocument *document)
+ PopplerPermissions permissions;
+ EvPage *page;
+ char *metadata;
++ gboolean linearized;
+
+ info = g_new0 (EvDocumentInfo, 1);
+
+@@ -721,7 +722,7 @@ pdf_document_get_info (EvDocument *document)
+ "producer", &(info->producer),
+ "creation-date", &(info->creation_date),
+ "mod-date", &(info->modified_date),
+- "linearized", &(info->linearized),
++ "linearized", &linearized,
+ "metadata", &metadata,
+ NULL);
+
+@@ -826,6 +827,7 @@ pdf_document_get_info (EvDocument *document)
+ /* translators: this is the document security state */
+ info->security = g_strdup (_("No"));
+ }
++ info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No"));
+
+ return info;
+ }
+--
+1.8.3.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list