Fix the crash on some PDF files. Bump the PORTREVISION.
PR: ports/162755 Obtained from: http://osdir.com/ml/general/2010-09/msg30460.html Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> Feature safe: yes
This commit is contained in:
parent
1feef668bf
commit
ed75e52482
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293276
2 changed files with 29 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= evince
|
||||
PORTVERSION= 2.32.0
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= graphics print gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome2
|
||||
|
|
28
graphics/evince/files/patch-backend_pdf_ev-poppler.cc
Normal file
28
graphics/evince/files/patch-backend_pdf_ev-poppler.cc
Normal file
|
@ -0,0 +1,28 @@
|
|||
--- ./backend/pdf/ev-poppler.cc.orig 2010-09-28 01:54:34.000000000 +0900
|
||||
+++ ./backend/pdf/ev-poppler.cc 2011-11-22 20:11:28.000000000 +0900
|
||||
@@ -640,6 +640,7 @@
|
||||
PopplerPermissions permissions;
|
||||
EvPage *page;
|
||||
char *metadata;
|
||||
+ gboolean linearized;
|
||||
|
||||
info = g_new0 (EvDocumentInfo, 1);
|
||||
|
||||
@@ -676,7 +677,7 @@
|
||||
"producer", &(info->producer),
|
||||
"creation-date", &(info->creation_date),
|
||||
"mod-date", &(info->modified_date),
|
||||
- "linearized", &(info->linearized),
|
||||
+ "linearized", &linearized,
|
||||
"metadata", &metadata,
|
||||
NULL);
|
||||
|
||||
@@ -782,6 +783,8 @@
|
||||
info->security = g_strdup (_("No"));
|
||||
}
|
||||
|
||||
+ info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No"));
|
||||
+
|
||||
return info;
|
||||
}
|
||||
|
Loading…
Reference in a new issue