Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-base-orphans for
openSUSE:Factory checked in at 2022-10-13 15:41:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-orphans (Old)
and /work/SRC/openSUSE:Factory/.ghc-base-orphans.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base-orphans"
Thu Oct 13 15:41:07 2022 rev:23 rq:1008436 version:0.8.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-orphans/ghc-base-orphans.changes
2021-11-11 21:36:15.084881186 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-base-orphans.new.2275/ghc-base-orphans.changes
2022-10-13 15:41:09.130621612 +0200
@@ -1,0 +2,12 @@
+Thu Aug 11 12:05:49 UTC 2022 - Peter Simons <[email protected]>
+
+- Update base-orphans to version 0.8.7.
+ ## Changes in 0.8.7 [2022.08.11]
+ - Backport new instances from GHC 9.2.2/`base-4.16.1.0`:
+ * `Ix` instances for various integral types in `Foreign.C.Types`,
+ `Foreign.Ptr`, and `System.Posix.Types`. For a complete list of such
types,
+ see https://gitlab.haskell.org/ghc/ghc/-/merge_requests/7385.
+ - Backport a bugfix for the `Ord1 Down` instance from GHC 9.4/`base-4.17`
such
+ that it now uses reverse sort order.
+
+-------------------------------------------------------------------
Old:
----
base-orphans-0.8.6.tar.gz
New:
----
base-orphans-0.8.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base-orphans.spec ++++++
--- /var/tmp/diff_new_pack.thkUbs/_old 2022-10-13 15:41:09.810622940 +0200
+++ /var/tmp/diff_new_pack.thkUbs/_new 2022-10-13 15:41:09.814622948 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base-orphans
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name base-orphans
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.8.6
+Version: 0.8.7
Release: 0
Summary: Backwards-compatible orphan instances for base
License: MIT
++++++ base-orphans-0.8.6.tar.gz -> base-orphans-0.8.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/CHANGES.markdown
new/base-orphans-0.8.7/CHANGES.markdown
--- old/base-orphans-0.8.6/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.7/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,11 @@
+## Changes in 0.8.7 [2022.08.11]
+ - Backport new instances from GHC 9.2.2/`base-4.16.1.0`:
+ * `Ix` instances for various integral types in `Foreign.C.Types`,
+ `Foreign.Ptr`, and `System.Posix.Types`. For a complete list of such
types,
+ see https://gitlab.haskell.org/ghc/ghc/-/merge_requests/7385.
+ - Backport a bugfix for the `Ord1 Down` instance from GHC 9.4/`base-4.17` such
+ that it now uses reverse sort order.
+
## Changes in 0.8.6 [2021.10.29]
- Backport `Eq`, `Ord`, `Bounded`, `Enum`, and `Ix` instances for `Solo`,
introduced in GHC 9.2/`base-4.16`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/README.markdown
new/base-orphans-0.8.7/README.markdown
--- old/base-orphans-0.8.6/README.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.7/README.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -67,6 +67,7 @@
* `Functor`, `Applicative`, `Monad`, `Alternative`, and `MonadPlus` instances
for `Kleisli`
* `Ix` instances for tuples of size 6 through 15
+ * `Ix` instances for integral types in `Foreign.C.Types`, `Foreign.Ptr`, and
`System.Posix.Types`
* `Monad` instance for `(,)`
* `Monad` instance for `WrappedMonad`
* `MonadFail`, `Monoid`, and `Semigroup` instances for strict `ST`
@@ -100,6 +101,7 @@
## Supported versions of GHC/`base`
+ * `ghc-9.4.*` / `base-4.17.*`
* `ghc-9.2.*` / `base-4.16.*`
* `ghc-9.0.*` / `base-4.15.*`
* `ghc-8.10.*` / `base-4.14.*`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/base-orphans.cabal
new/base-orphans-0.8.7/base-orphans.cabal
--- old/base-orphans-0.8.6/base-orphans.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.7/base-orphans.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,13 +1,13 @@
cabal-version: 1.12
--- This file has been generated from package.yaml by hpack version 0.34.5.
+-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack
--
--- hash: 804afa44cbb02fb57224b372fbde6da86b3817761980426d9505942e9b67551f
+-- hash: 72579eb12963b1336e2e979d497378f6dac77805e17a8e53f86b6b2984fcab08
name: base-orphans
-version: 0.8.6
+version: 0.8.7
synopsis: Backwards-compatible orphan instances for base
description: @base-orphans@ defines orphan instances that mimic
instances available in
later versions of @base@ to a wider (older) range of
compilers.
@@ -36,7 +36,7 @@
license-file: LICENSE
build-type: Simple
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.4 , GHC == 8.10.7 , GHC == 9.0.1 , GHC == 9.2.1
+ 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.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.2
extra-source-files:
CHANGES.markdown
README.markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/src/Data/Orphans/Prelude.hs
new/base-orphans-0.8.7/src/Data/Orphans/Prelude.hs
--- old/base-orphans-0.8.6/src/Data/Orphans/Prelude.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/base-orphans-0.8.7/src/Data/Orphans/Prelude.hs 2001-09-09
03:46:40.000000000 +0200
@@ -21,7 +21,7 @@
Note that this module does not export any modules that could introduce name
clashes.
-}
module Data.Orphans.Prelude
-#if MIN_VERSION_base(4,16,0)
+#if MIN_VERSION_base(4,16,1)
() where
#else
( module OrphansPrelude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/src/Data/Orphans.hs
new/base-orphans-0.8.7/src/Data/Orphans.hs
--- old/base-orphans-0.8.6/src/Data/Orphans.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.7/src/Data/Orphans.hs 2001-09-09 03:46:40.000000000
+0200
@@ -91,7 +91,7 @@
# endif
#endif
-#if !(MIN_VERSION_base(4,16,0))
+#if !(MIN_VERSION_base(4,16,1))
import Data.Orphans.Prelude
#endif
@@ -1063,7 +1063,10 @@
instance Eq1 Down where
liftEq eq (Down x) (Down y) = eq x y
instance Ord1 Down where
- liftCompare comp (Down x) (Down y) = comp x y
+ liftCompare comp (Down x) (Down y) = case comp x y of
+ LT -> GT
+ EQ -> EQ
+ GT -> LT
instance Read1 Down where
liftReadsPrec rp _ = readsData $
readsUnaryWith rp "Down" Down
@@ -1844,6 +1847,122 @@
# endif
#endif
+#if !(MIN_VERSION_base(4,16,1))
+# if MIN_VERSION_base(4,5,0)
+-- These are guarded on base-4.5.0 because that was the first version which
+-- exported their constructors, which is necessary to use
+-- GeneralizedNewtypeDeriving. See
+-- https://gitlab.haskell.org/ghc/ghc/-/issues/5529.
+deriving instance Ix CChar
+deriving instance Ix CSChar
+deriving instance Ix CUChar
+deriving instance Ix CShort
+deriving instance Ix CUShort
+deriving instance Ix CInt
+deriving instance Ix CUInt
+deriving instance Ix CLong
+deriving instance Ix CULong
+deriving instance Ix CLLong
+deriving instance Ix CULLong
+deriving instance Ix CPtrdiff
+deriving instance Ix CSize
+deriving instance Ix CWchar
+deriving instance Ix CSigAtomic
+deriving instance Ix CIntPtr
+deriving instance Ix CUIntPtr
+deriving instance Ix CIntMax
+deriving instance Ix CUIntMax
+# endif
+# if MIN_VERSION_base(4,10,0)
+deriving instance Ix CBool
+# endif
+
+# if MIN_VERSION_base(4,10,0)
+-- These are guarded on base-4.10.0 because that was the first version which
+-- exported their constructors, which is necessary to use
+-- GeneralizedNewtypeDeriving. See
+-- https://gitlab.haskell.org/ghc/ghc/-/issues/11983.
+deriving instance Ix WordPtr
+deriving instance Ix IntPtr
+# endif
+
+# if MIN_VERSION_base(4,5,0)
+-- These are guarded on base-4.5.0 because that was the first version which
+-- exported their constructors, which is necessary to use
+-- GeneralizedNewtypeDeriving. See
+-- https://gitlab.haskell.org/ghc/ghc/-/issues/5529.
+# if defined(HTYPE_DEV_T)
+deriving instance Ix CDev
+# endif
+# if defined(HTYPE_INO_T)
+deriving instance Ix CIno
+# endif
+# if defined(HTYPE_MODE_T)
+deriving instance Ix CMode
+# endif
+# if defined(HTYPE_OFF_T)
+deriving instance Ix COff
+# endif
+# if defined(HTYPE_PID_T)
+deriving instance Ix CPid
+# endif
+# if defined(HTYPE_SSIZE_T)
+deriving instance Ix CSsize
+# endif
+# if defined(HTYPE_GID_T)
+deriving instance Ix CGid
+# endif
+# if defined(HTYPE_NLINK_T)
+deriving instance Ix CNlink
+# endif
+# if defined(HTYPE_UID_T)
+deriving instance Ix CUid
+# endif
+# if defined(HTYPE_CC_T)
+deriving instance Ix CCc
+# endif
+# if defined(HTYPE_SPEED_T)
+deriving instance Ix CSpeed
+# endif
+# if defined(HTYPE_TCFLAG_T)
+deriving instance Ix CTcflag
+# endif
+# if defined(HTYPE_RLIM_T)
+deriving instance Ix CRLim
+# endif
+deriving instance Ix Fd
+# endif
+# if MIN_VERSION_base(4,10,0)
+# if defined(HTYPE_BLKSIZE_T)
+deriving instance Ix CBlkSize
+# endif
+# if defined(HTYPE_BLKCNT_T)
+deriving instance Ix CBlkCnt
+# endif
+# if defined(HTYPE_CLOCKID_T)
+deriving instance Ix CClockId
+# endif
+# if defined(HTYPE_FSBLKCNT_T)
+deriving instance Ix CFsBlkCnt
+# endif
+# if defined(HTYPE_FSFILCNT_T)
+deriving instance Ix CFsFilCnt
+# endif
+# if defined(HTYPE_ID_T)
+deriving instance Ix CId
+# endif
+# if defined(HTYPE_KEY_T)
+deriving instance Ix CKey
+# endif
+# if defined(HTYPE_SOCKLEN_T)
+deriving instance Ix CSocklen
+# endif
+# if defined(HTYPE_NFDS_T)
+deriving instance Ix CNfds
+# endif
+# endif
+#endif
+
#if __GLASGOW_HASKELL__ < 710
deriving instance Typeable All
deriving instance Typeable AnnotationWrapper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.6/test/Data/Version/OrphansSpec.hs
new/base-orphans-0.8.7/test/Data/Version/OrphansSpec.hs
--- old/base-orphans-0.8.6/test/Data/Version/OrphansSpec.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/base-orphans-0.8.7/test/Data/Version/OrphansSpec.hs 2001-09-09
03:46:40.000000000 +0200
@@ -18,7 +18,10 @@
describe "Data Version instance" $
it "allows obtaining a Version constructor" $
dataTypeName (dataTypeOf (Version [1,2,3] [])) `shouldBe`
-#if __GLASGOW_HASKELL__ >= 801
+-- Some old versions of GHC incorrectly return "Version" instead of
+-- "Data.Version.Version" due to
+-- https://gitlab.haskell.org/ghc/ghc/-/issues/20371.
+#if __GLASGOW_HASKELL__ >= 801 && __GLASGOW_HASKELL__ < 903
"Version"
#else
"Data.Version.Version"