bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

config.charset support for OpenBSD


From: Ben Pfaff
Subject: config.charset support for OpenBSD
Date: Sat, 10 Nov 2007 11:18:07 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

After some puzzling failures of local_charset on OpenBSD, I
discovered that config.charset does not support OpenBSD.  I poked
through OpenBSD's code for locales and set of locales and
concluded that it borrowed charset names and code from NetBSD.
Thus, the following patch against config.charset seems
appropriate:

--- config.charset~     2007-11-04 13:03:10.000000000 -0800
+++ config.charset      2007-11-10 11:16:07.000000000 -0800
@@ -381,7 +381,7 @@ case "$os" in
        echo "ja_JP.Shift_JIS SHIFT_JIS"
        echo "ko_KR.EUC EUC-KR"
        ;;
-    netbsd*)
+    netbsd* | openbsd*)
        echo "646 ASCII"
        echo "ISO8859-1 ISO-8859-1"
        echo "ISO8859-2 ISO-8859-2"

It's really not clear to me what the canonical source of
config.charset is; mine comes from gnulib.  But all of the
various copies I see seem to be in sync anyway.

I see that the same problem and solution have been offered
before:
        http://mail-index.netbsd.org/pkgsrc-bugs/2007/06/20/0006.html

-- 
Ben Pfaff 
http://benpfaff.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]