summaryrefslogtreecommitdiff
path: root/office/evince/patches/evince-2.32.0-pk-fonts.patch
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2013-03-11 19:30:05 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:39 -0400
commitbbc1646640111dfe41efe2763dcce8e4eb3a55a5 (patch)
treed28769823a15d527fb61907398cf00258877ee12 /office/evince/patches/evince-2.32.0-pk-fonts.patch
parentb97dba80105fbd66c29de59eb31fc4bb8c4c745d (diff)
downloadslackbuilds-bbc1646640111dfe41efe2763dcce8e4eb3a55a5.tar.gz
office/evince: Updated for version 3.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/evince/patches/evince-2.32.0-pk-fonts.patch')
-rw-r--r--office/evince/patches/evince-2.32.0-pk-fonts.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/office/evince/patches/evince-2.32.0-pk-fonts.patch b/office/evince/patches/evince-2.32.0-pk-fonts.patch
deleted file mode 100644
index 8379e7453c..0000000000
--- a/office/evince/patches/evince-2.32.0-pk-fonts.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 0a6e8aabcc46d47b5d84e5414cd0e07d57ef171b Mon Sep 17 00:00:00 2001
-From: José Aliste <jaliste@src.gnome.org>
-Date: Mon, 17 Jan 2011 17:30:00 +0000
-Subject: Fix problem with some pk fonts.
-
----
-diff --git a/backend/dvi/mdvi-lib/pk.c b/backend/dvi/mdvi-lib/pk.c
-index 08377e6..a911613 100644
---- a/backend/dvi/mdvi-lib/pk.c
-+++ b/backend/dvi/mdvi-lib/pk.c
-@@ -328,13 +328,14 @@ static int pk_load_font(DviParams *unused, DviFont *font)
- {
- int i;
- int flag_byte;
-- int loc, hic, maxch;
-+ int hic, maxch;
- Int32 checksum;
- FILE *p;
- #ifndef NODEBUG
- char s[256];
- #endif
- long alpha, beta, z;
-+ unsigned int loc;
-
- font->chars = xnalloc(DviFontChar, 256);
- p = font->in;
-@@ -521,7 +522,7 @@ static int pk_load_font(DviParams *unused, DviFont *font)
- }
-
- /* resize font char data */
-- if(loc > 0 && hic < maxch-1) {
-+ if(loc > 0 || hic < maxch-1) {
- memmove(font->chars, font->chars + loc,
- (hic - loc + 1) * sizeof(DviFontChar));
- font->chars = xresize(font->chars,
---
-cgit v0.8.3.1