openbsd-ports/lang/ghc/patches/patch-libraries_base_System_IO_hs
kili cdffd322bb Update to 7.0.3.
ok jasper@ (who also gave an ok to all the depending updates).
2011-04-11 14:30:32 +00:00

15 lines
815 B
Plaintext

$OpenBSD: patch-libraries_base_System_IO_hs,v 1.2 2011/04/11 14:30:33 kili Exp $
--- libraries/base/System/IO.hs.orig Wed Dec 15 19:10:12 2010
+++ libraries/base/System/IO.hs Sun Dec 19 12:46:34 2010
@@ -183,7 +183,9 @@ module System.IO (
-- 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