openbsd-ports/lang/ghc/patches/patch-libraries_base_System_IO_hs

15 lines
815 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libraries_base_System_IO_hs,v 1.3 2012/09/02 19:53:46 kili Exp $
--- libraries/base/System/IO.hs.orig Wed Feb 1 19:10:45 2012
+++ libraries/base/System/IO.hs Sat Jun 9 21:36:25 2012
@@ -185,7 +185,9 @@ module System.IO (
2010-04-22 17:49:37 -04:00
-- on your system, which is also available as 'localeEncoding'.
-- (GHC note: on Windows, we currently do not support double-byte
-- encodings; if the console\'s code page is unsupported, then
- -- 'localeEncoding' will be 'latin1'.)
+ -- 'localeEncoding' will be 'latin1'. On OpenBSD, the default
+ -- encoding is always 'latin1' but can be overridden with the
+ -- environment variable `HS_ENCODING')
--
-- Encoding and decoding errors are always detected and reported,
-- except during lazy I/O ('hGetContents', 'getContents', and