 +mkCodePageEncoding = ""
 +#endif
 diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/base/GHC/IO/Encoding.hs boot/pkg/base/GHC/IO/Encoding.hs
---- upstream/pkg/base/GHC/IO/Encoding.hs	2018-12-04 07:40:08.000000000 -0800
-+++ boot/pkg/base/GHC/IO/Encoding.hs	2018-12-04 07:40:08.470663293 -0800
+--- upstream/pkg/base/GHC/IO/Encoding.hs	2019-05-07 22:52:33.000000000 -0700
++++ boot/pkg/base/GHC/IO/Encoding.hs	2019-05-07 22:52:34.193760861 -0700
 @@ -141,8 +141,11 @@
  
  -- | @since 4.5.0.0

 -- because some iconvs (in particular GNU iconv) will brokenly UTF-8 encode
 -- lone surrogates without complaint.
diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/base/GHC/IO/FD.hs boot/pkg/base/GHC/IO/FD.hs
--- upstream/pkg/base/GHC/IO/FD.hs	2018-12-04 07:40:08.000000000 -0800
+++ boot/pkg/base/GHC/IO/FD.hs	2018-12-04 07:40:08.470663293 -0800
@@ -498,6 +498,10 @@
 
 readRawBufferPtr :: String -> FD -> Ptr Word8 -> Int -> CSize -> IO Int

 
+#endif
diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/base/GHC/IO/Encoding/CodePage/API.hs boot/pkg/base/GHC/IO/Encoding/CodePage/API.hs
--- upstream/pkg/base/GHC/IO/Encoding/CodePage/API.hs	2019-05-07 22:52:33.000000000 -0700
+++ boot/pkg/base/GHC/IO/Encoding/CodePage/API.hs	2019-05-07 22:52:34.193760861 -0700
@@ -29,6 +29,7 @@
 
 import System.Posix.Internals
