From 86bb9db59518367c1115261fa5034c01ab859696 Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Tue, 31 Jan 2006 18:29:32 +0000 Subject: [PATCH] fixed the a2ps afm/make_fonts_map.sh script to work with coreutils-5.93 (thanks Alexander) git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5618 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- pst/ps/a2ps.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pst/ps/a2ps.xml b/pst/ps/a2ps.xml index 896ce503b3..af3847f274 100644 --- a/pst/ps/a2ps.xml +++ b/pst/ps/a2ps.xml @@ -91,6 +91,7 @@ commands: sed -i "s|emacs||" contrib/Makefile.in && +sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh && sed -i "s|/usr/local/share|/usr/share|" configure && sed -i "s|char \*malloc ();|/* & */|" \ lib/path-concat.c && @@ -127,6 +128,12 @@ mv fonts.map.new fonts.map Emacs for Vi as your primary editor, skip this step. + sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh: + The make_fonts_map.sh script to uses an option that is invalid with the + version of sort installed as part of Coreutils-5.93. + If you are using an older version of Coreutils, + skip this step. + sed -i -e "s|/usr/local/share|/usr/share|" configure: This command modifies the configure script to search for Ghostscript fonts at the location where they were