From 14909fab18ef437ef959f5f81ce46f205a0e4f87 Mon Sep 17 00:00:00 2001 From: Daniel Novotny Date: Tue, 16 Jun 2009 10:25:54 +0000 Subject: [PATCH] fix #505762 --- file-5.03-fonts-postscript.patch | 9 +++++---- file.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/file-5.03-fonts-postscript.patch b/file-5.03-fonts-postscript.patch index 2bb72e2..1b2f394 100644 --- a/file-5.03-fonts-postscript.patch +++ b/file-5.03-fonts-postscript.patch @@ -1,16 +1,17 @@ diff -up file-5.03/magic/Magdir/fonts.orig file-5.03/magic/Magdir/fonts ---- file-5.03/magic/Magdir/fonts.orig 2009-06-13 09:53:07.581775320 -0400 -+++ file-5.03/magic/Magdir/fonts 2009-06-13 09:51:04.221775135 -0400 -@@ -9,6 +9,8 @@ +--- file-5.03/magic/Magdir/fonts.orig 2009-06-13 10:46:47.044774639 -0400 ++++ file-5.03/magic/Magdir/fonts 2009-06-13 10:42:45.052774592 -0400 +@@ -9,6 +9,9 @@ 0 string %!PS-AdobeFont-1. PostScript Type 1 font text >20 string >\0 (%s) 6 string %!PS-AdobeFont-1. PostScript Type 1 font program data ++0 string %!FontType1 PostScript Type 1 font program data +6 string %!FontType1 PostScript Type 1 font program data +0 string %!PS-Adobe-3.0\ Resource-Font PostScript Type 1 font text # X11 font files in SNF (Server Natural Format) format 0 belong 00000004 X11 SNF font data, MSB first -@@ -58,7 +60,7 @@ +@@ -58,7 +61,7 @@ 0 string ttcf TrueType font collection data # Opentype font data from Avi Bercovich diff --git a/file.spec b/file.spec index 049bd94..20908c2 100644 --- a/file.spec +++ b/file.spec @@ -5,7 +5,7 @@ Summary: A utility for determining file types Name: file Version: 5.03 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -64,7 +64,7 @@ file(1) command. %patch1 -p1 #fixes #485835 %patch2 -p1 -#fixes #505758, #505759, #505765 +#fixes #505758, #505759, #505762, #505765 %patch3 -p1 iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_ @@ -140,6 +140,10 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Jun 16 2009 Daniel Novotny 5.03-4 +- one more PostScript font magic added (#505762), + updated font patch + * Tue Jun 16 2009 Daniel Novotny 5.03-3 - added magic for three font issues (PostScript fonts) (#505758, #505759, #505765)