Hello community,
here is the log from the commit of package ghc-base-compat for
openSUSE:Leap:15.2 checked in at 2020-03-13 10:56:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-base-compat (Old)
and /work/SRC/openSUSE:Leap:15.2/.ghc-base-compat.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base-compat"
Fri Mar 13 10:56:42 2020 rev:12 rq:782955 version:0.11.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-base-compat/ghc-base-compat.changes
2020-02-19 18:37:48.861868154 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.ghc-base-compat.new.3160/ghc-base-compat.changes
2020-03-13 10:56:43.940407178 +0100
@@ -1,0 +2,9 @@
+Tue Jan 28 11:15:02 UTC 2020 - [email protected]
+
+- Update base-compat to version 0.11.1.
+ ## Changes in 0.11.1 [2020.01.27]
+ - Sync with `base-4.14`/GHC 8.10
+ - Backport `isResourceVanishedError`, `resourceVanishedErrorType`, and
+ `isResourceVanishedErrorType` to `System.IO.Error.Compat`.
+
+-------------------------------------------------------------------
Old:
----
base-compat-0.11.0.tar.gz
New:
----
base-compat-0.11.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base-compat.spec ++++++
--- /var/tmp/diff_new_pack.YsIKdW/_old 2020-03-13 10:56:44.268407413 +0100
+++ /var/tmp/diff_new_pack.YsIKdW/_new 2020-03-13 10:56:44.272407415 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base-compat
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%global pkg_name base-compat
Name: ghc-%{pkg_name}
-Version: 0.11.0
+Version: 0.11.1
Release: 0
Summary: A compatibility layer for base
License: MIT
++++++ base-compat-0.11.0.tar.gz -> base-compat-0.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.11.0/CHANGES.markdown
new/base-compat-0.11.1/CHANGES.markdown
--- old/base-compat-0.11.0/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.11.1/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,8 @@
+## Changes in 0.11.1 [2020.01.27]
+ - Sync with `base-4.14`/GHC 8.10
+ - Backport `isResourceVanishedError`, `resourceVanishedErrorType`, and
+ `isResourceVanishedErrorType` to `System.IO.Error.Compat`.
+
## Changes in 0.11.0 [2019.09.06]
- Sync with `base-4.13`/GHC 8.8
- Backport `MonadFail(fail)` to `Prelude.Compat` and `Control.Monad.Compat`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.11.0/README.markdown
new/base-compat-0.11.1/README.markdown
--- old/base-compat-0.11.0/README.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.11.1/README.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -150,6 +150,8 @@
* `unsafeFixIO` and `unsafeDupablePerformIO` to `System.IO.Unsafe.IO`
* `RuntimeRep`-polymorphic `($!)` to `Prelude.Compat`
* `RuntimeRep`-polymorphic `throw` to `Control.Exception.Compat`
+ * `isResourceVanishedError`, `resourceVanishedErrorType`, and
+ `isResourceVanishedErrorType` to `System.IO.Error.Compat`
## What is not covered
@@ -302,38 +304,18 @@
## Supported versions of GHC/`base`
- * `ghc-8.8.1` / `base-4.13.0.0`
- * `ghc-8.6.5` / `base-4.12.0.0`
- * `ghc-8.6.4` / `base-4.12.0.0`
- * `ghc-8.6.3` / `base-4.12.0.0`
- * `ghc-8.6.2` / `base-4.12.0.0`
- * `ghc-8.6.1` / `base-4.12.0.0`
- * `ghc-8.4.4` / `base-4.11.1.0`
- * `ghc-8.4.3` / `base-4.11.1.0`
- * `ghc-8.4.2` / `base-4.11.1.0`
- * `ghc-8.4.1` / `base-4.11.0.0`
- * `ghc-8.2.2` / `base-4.10.1.0`
- * `ghc-8.2.1` / `base-4.10.0.0`
- * `ghc-8.0.2` / `base-4.9.1.0`
- * `ghc-8.0.1` / `base-4.9.0.0`
- * `ghc-7.10.3` / `base-4.8.2.0`
- * `ghc-7.10.2` / `base-4.8.1.0`
- * `ghc-7.10.1` / `base-4.8.0.0`
- * `ghc-7.8.4` / `base-4.7.0.2`
- * `ghc-7.8.3` / `base-4.7.0.1`
- * `ghc-7.8.2` / `base-4.7.0.0`
- * `ghc-7.8.1` / `base-4.7.0.0`
- * `ghc-7.6.3` / `base-4.6.0.1`
- * `ghc-7.6.2` / `base-4.6.0.1`
- * `ghc-7.6.1` / `base-4.6.0.0`
- * `ghc-7.4.2` / `base-4.5.1.0`
- * `ghc-7.4.1` / `base-4.5.0.0`
- * `ghc-7.2.2` / `base-4.4.1.0`
- * `ghc-7.2.1` / `base-4.4.0.0`
- * `ghc-7.0.4` / `base-4.3.1.0`
- * `ghc-7.0.3` / `base-4.3.1.0`
- * `ghc-7.0.2` / `base-4.3.1.0`
- * `ghc-7.0.1` / `base-4.3.0.0`
+ * `ghc-8.10.*` / `base-4.14.*`
+ * `ghc-8.8.*` / `base-4.13.*`
+ * `ghc-8.6.*` / `base-4.12.*`
+ * `ghc-8.4.*` / `base-4.11.*`
+ * `ghc-8.2.*` / `base-4.10.*`
+ * `ghc-8.0.*` / `base-4.9.*`
+ * `ghc-7.10.*` / `base-4.8.*`
+ * `ghc-7.8.*` / `base-4.7.*`
+ * `ghc-7.6.*` / `base-4.6.*`
+ * `ghc-7.4.*` / `base-4.5.*`
+ * `ghc-7.2.*` / `base-4.4.*`
+ * `ghc-7.0.*` / `base-4.3.*`
We also make an attempt to keep `base-compat` building with GHC HEAD, but due
to its volatility, it may not work at any given point in time. If it doesn't,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.11.0/base-compat.cabal
new/base-compat-0.11.1/base-compat.cabal
--- old/base-compat-0.11.0/base-compat.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.11.1/base-compat.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: base-compat
-version: 0.11.0
+version: 0.11.1
license: MIT
license-file: LICENSE
copyright: (c) 2012-2018 Simon Hengel,
@@ -43,17 +43,18 @@
module with the suffix @.Repl@, which are distinct from
anything in @base-compat-batteries@, to allow for easier
use in GHCi.
-tested-with: GHC == 7.0.*
- , GHC == 7.2.*
- , GHC == 7.4.*
- , GHC == 7.6.*
- , GHC == 7.8.*
- , GHC == 7.10.*
- , GHC == 8.0.*
- , GHC == 8.2.*
- , GHC == 8.4.*
- , GHC == 8.6.*
- , GHC == 8.8.*
+tested-with: GHC == 7.0.4
+ , GHC == 7.2.2
+ , GHC == 7.4.2
+ , GHC == 7.6.3
+ , GHC == 7.8.4
+ , GHC == 7.10.3
+ , GHC == 8.0.2
+ , GHC == 8.2.2
+ , GHC == 8.4.4
+ , GHC == 8.6.5
+ , GHC == 8.8.2
+ , GHC == 8.10.1
extra-source-files: CHANGES.markdown, README.markdown
source-repository head
@@ -131,6 +132,7 @@
Prelude.Compat
System.Environment.Compat
System.Exit.Compat
+ System.IO.Error.Compat
System.IO.Unsafe.Compat
Text.Read.Compat
Type.Reflection.Compat
@@ -189,6 +191,7 @@
Prelude.Compat.Repl
System.Environment.Compat.Repl
System.Exit.Compat.Repl
+ System.IO.Error.Compat.Repl
System.IO.Unsafe.Compat.Repl
Text.Read.Compat.Repl
Type.Reflection.Compat.Repl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/base-compat-0.11.0/src/System/IO/Error/Compat/Repl.hs
new/base-compat-0.11.1/src/System/IO/Error/Compat/Repl.hs
--- old/base-compat-0.11.0/src/System/IO/Error/Compat/Repl.hs 1970-01-01
01:00:00.000000000 +0100
+++ new/base-compat-0.11.1/src/System/IO/Error/Compat/Repl.hs 2001-09-09
03:46:40.000000000 +0200
@@ -0,0 +1,8 @@
+{-# LANGUAGE PackageImports #-}
+{-# OPTIONS_GHC -fno-warn-dodgy-exports -fno-warn-unused-imports #-}
+-- | Reexports "System.IO.Error.Compat"
+-- from a globally unique namespace.
+module System.IO.Error.Compat.Repl (
+ module System.IO.Error.Compat
+) where
+import "this" System.IO.Error.Compat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.11.0/src/System/IO/Error/Compat.hs
new/base-compat-0.11.1/src/System/IO/Error/Compat.hs
--- old/base-compat-0.11.0/src/System/IO/Error/Compat.hs 1970-01-01
01:00:00.000000000 +0100
+++ new/base-compat-0.11.1/src/System/IO/Error/Compat.hs 2001-09-09
03:46:40.000000000 +0200
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP, NoImplicitPrelude #-}
+module System.IO.Error.Compat (
+ module Base
+, isResourceVanishedError
+, resourceVanishedErrorType
+, isResourceVanishedErrorType
+) where
+
+import System.IO.Error as Base
+
+#if !(MIN_VERSION_base(4,14,0))
+import GHC.IO.Exception (IOErrorType(..))
+import Prelude.Compat
+
+-- | An error indicating that the operation failed because the
+-- resource vanished. See 'resourceVanishedErrorType'.
+--
+-- /Since 4.14.0.0/
+isResourceVanishedError :: IOError -> Bool
+isResourceVanishedError = isResourceVanishedErrorType . ioeGetErrorType
+
+-- | I\/O error where the operation failed because the resource vanished.
+-- This happens when, for example, attempting to write to a closed
+-- socket or attempting to write to a named pipe that was deleted.
+--
+-- /Since 4.14.0.0/
+resourceVanishedErrorType :: IOErrorType
+resourceVanishedErrorType = ResourceVanished
+
+-- | I\/O error where the operation failed because the resource vanished.
+-- See 'resourceVanishedErrorType'.
+--
+-- /Since 4.14.0.0/
+isResourceVanishedErrorType :: IOErrorType -> Bool
+isResourceVanishedErrorType ResourceVanished = True
+isResourceVanishedErrorType _ = False
+#endif