openbsd-ports/mail/re-alpine/patches/patch-pith_charconv_utf8_c
ajacoutot 89b20c4179 Import alpine-2.02.
This is the continuation of the Alpine email client from University of
Washington.
This port will be used to build the following packages:
- alpine
- c-client
- imap-uw
- mailutil-uw
- pico
- pilot

ok jasper@
2012-09-27 15:09:53 +00:00

14 lines
492 B
Plaintext

$OpenBSD: patch-pith_charconv_utf8_c,v 1.1.1.1 2012/09/27 15:09:53 ajacoutot Exp $
--- pith/charconv/utf8.c.orig Sat Oct 2 10:37:57 2010
+++ pith/charconv/utf8.c Sun Sep 23 09:52:20 2012
@@ -2142,7 +2142,8 @@ nl_langinfo_codeset_wrapper(void)
|| !strcmp("646", ret)
|| !strcmp("ASCII", ret)
|| !strcmp("C", ret)
- || !strcmp("POSIX", ret))
+ || !strcmp("POSIX", ret)
+ || !strcmp("646", ret))
ret = "US-ASCII";
else if(!strucmp(ret, "UTF8"))
ret = "UTF-8";