Subject: pkg/14703: Add a patch to fonts/mkttfdir-1.1
To: None <>
From: None <>
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
>Originator:     Rui-Xiang Guo
>Release:        NetBSD 1.5Y
System: NetBSD 1.5Y NetBSD 1.5Y (rxgpc) #0: Tue Nov 20 01:52:38 CST 2001 i386
Architecture: i386
Machine: i386
	Add a patch to fonts/mkttfdir-1.1 to avoid printing error message
	in a empty directory.
	Let it not to print unnecessary message in empty directory.
	It is usable for running it after remove the all fonts in that directory
	cd /usr/pkgsrc/fonts/mkttfdir ; mkdir patches
	Then add this patch into 'patches' directory:


---    Sat Nov 24 12:21:04 2001
@@ -108,7 +108,7 @@
 # Add ttf 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