$OpenBSD: patch-libraries_base_GHC_IO_Encoding_hs,v 1.2 2012/09/02 19:53:46 kili Exp $
--- libraries/base/GHC/IO/Encoding.hs.orig	Wed Feb  1 19:10:45 2012
+++ libraries/base/GHC/IO/Encoding.hs	Sat Jun  9 21:37:47 2012
@@ -102,7 +102,9 @@ utf32le = UTF32.utf32le
 utf32be  :: TextEncoding
 utf32be = UTF32.utf32be
 
--- | The Unicode encoding of the current locale
+-- | The Unicode encoding of the current locale. On OpenBSD this is set
+-- to the value of the environment variable 'HS_ENCODING' or to 'latin1'
+-- if that variable isn't set.
 getLocaleEncoding :: IO TextEncoding
 
 -- | The Unicode encoding of the current locale, but allowing arbitrary
