Subject: pkg/14703: Add a patch to fonts/mkttfdir-1.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 11/24/2001 13:36:15
>Number: 14703
>Category: pkg
>Synopsis: Add a patch to fonts/mkttfdir-1.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 23 21:39:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Rui-Xiang Guo
>Release: NetBSD 1.5Y
>Organization:
>Environment:
System: NetBSD rxgpc.sparqnet.net 1.5Y NetBSD 1.5Y (rxgpc) #0: Tue Nov 20 01:52:38 CST 2001 rxg@rxgpc.sparqnet.net:/home/rxg/mysys/arch/i386/compile/rxgpc i386
Architecture: i386
Machine: i386
>Description:
Add a patch to fonts/mkttfdir-1.1 to avoid printing error message
in a empty directory.
>How-To-Repeat:
Let it not to print unnecessary message in empty directory.
It is usable for running it after remove the all fonts in that directory
>Fix:
cd /usr/pkgsrc/fonts/mkttfdir ; mkdir patches
Then add this patch into 'patches' directory:
patch-aa:
$NetBSD$
--- mkttfdir.in.orig Sat Nov 24 12:21:04 2001
+++ mkttfdir.in
@@ -108,7 +108,7 @@
# Add ttf fonts
add_fonts()
{
- for addfile in `ls $XTTFFONTPATH/*.tt?`; do
+ for addfile in `ls $XTTFFONTPATH/*.tt? 2>/dev/null`; do
targetname=`basename "$addfile"`
srcdir=`dirname "$addfile"`
# --add *.ttf
>Release-Note:
>Audit-Trail:
>Unformatted: