Package: tkfont
Severity: grave
Version: 1.1-12
Justification: renders package unusable
Tags: patch
tkfont will not run and dies with this error:
,----
| Error in startup script: sort: Warning: "+number" syntax is
| deprecated, please use "-k number"
| while executing
| "exec xlsfonts -u -fn "*" | grep "-" | sort -t "-" +2 | uniq >
| $TempFileName"
| (procedure "GetFontList" line 8)
| invoked from within
| "GetFontList"
| (procedure "Rehash" line 9)
| invoked from within
| "Rehash"
| (file "/usr/bin/tkfont" line 387)
`----
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-686mem4smp
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Versions of packages tkfont depends on:
ii tk8.3 [wish] 8.3.5-6 Tk toolkit for Tcl and
X11, v8.3 -
tkfont recommends no packages.
-- no debconf information
diff -Naur tkfont-1.1-patch/tkfont tkfont-1.1/tkfont
--- tkfont-1.1-patch/tkfont 2006-08-02 19:07:50.000000000 -0400
+++ tkfont-1.1/tkfont 2006-08-02 19:08:11.000000000 -0400
@@ -16,7 +16,7 @@
set TempFileName "$env(HOME)/.fonts.list.[pid]"
set TempFileName2 "$env(HOME)/.fonts.list.[pid]b"
- exec xlsfonts -u -fn "*" | grep "-" | sort -t "-" +2 | uniq >
$TempFileName
+ exec xlsfonts -u -fn "*" | grep "-" | sort -t "-" -k 2 | uniq >
$TempFileName
exec grep -v "0-0-75-75-" < $TempFileName > $TempFileName2
exec grep -v "0-0-100-100-" < $TempFileName2 > $TempFileName
set Chan [open $TempFileName r]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]