pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-protolude



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 23 16:18:22 UTC 2022

Added Files:
        pkgsrc/devel/hs-protolude: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/hs-protolude/patches: patch-protolude.cabal
            patch-src_Protolude.hs patch-src_Protolude_Base.hs

Log Message:
devel/hs-protolude: import hs-protolude-0.3.0

A sensible starting Prelude for building custom Preludes.

Design points:

* Banishes String.
* Banishes partial functions.
* Compiler warning on bottoms.
* Polymorphic string IO functions.
* Polymorphic show.
* Automatic string conversions.
* Types for common data structures in scope.
* Types for all common string types (Text/ByteString) in scope.
* Banishes impure exception throwing outside of IO.
* StateT/ReaderT/ExceptT transformers in scope by default.
* Foldable / Traversable functions in scope by default.
* Unsafe functions are prefixed with "unsafe" in separate module.
* Compiler agnostic, GHC internal modules are abstracted out into Base.
* sum and product are strict by default.
* Includes Semiring for GHC >= 7.6.
* Includes Bifunctor for GHC >= 7.6.
* Includes Semigroup for GHC >= 7.6.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-protolude/DESCR \
    pkgsrc/devel/hs-protolude/Makefile pkgsrc/devel/hs-protolude/PLIST \
    pkgsrc/devel/hs-protolude/buildlink3.mk \
    pkgsrc/devel/hs-protolude/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-protolude/patches/patch-protolude.cabal \
    pkgsrc/devel/hs-protolude/patches/patch-src_Protolude.hs \
    pkgsrc/devel/hs-protolude/patches/patch-src_Protolude_Base.hs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/hs-protolude/DESCR
diff -u /dev/null pkgsrc/devel/hs-protolude/DESCR:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/DESCR     Wed Feb 23 16:18:22 2022
@@ -0,0 +1,21 @@
+A sensible starting Prelude for building custom Preludes.
+
+Design points:
+
+* Banishes String.
+* Banishes partial functions.
+* Compiler warning on bottoms.
+* Polymorphic string IO functions.
+* Polymorphic show.
+* Automatic string conversions.
+* Types for common data structures in scope.
+* Types for all common string types (Text/ByteString) in scope.
+* Banishes impure exception throwing outside of IO.
+* StateT/ReaderT/ExceptT transformers in scope by default.
+* Foldable / Traversable functions in scope by default.
+* Unsafe functions are prefixed with "unsafe" in separate module.
+* Compiler agnostic, GHC internal modules are abstracted out into Base.
+* sum and product are strict by default.
+* Includes Semiring for GHC >= 7.6.
+* Includes Bifunctor for GHC >= 7.6.
+* Includes Semigroup for GHC >= 7.6.
Index: pkgsrc/devel/hs-protolude/Makefile
diff -u /dev/null pkgsrc/devel/hs-protolude/Makefile:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/Makefile  Wed Feb 23 16:18:22 2022
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+DISTNAME=      protolude-0.3.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Sensible starting Prelude for building custom Preludes
+LICENSE=       mit
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-mtl-compat/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-protolude/PLIST
diff -u /dev/null pkgsrc/devel/hs-protolude/PLIST:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/PLIST     Wed Feb 23 16:18:22 2022
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:18:22 pho Exp $
+lib/protolude-${PKGVERSION}/${HS_VERSION}/package-description
+lib/protolude-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Applicative.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Applicative.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Applicative.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Base.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Base.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Base.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bifunctor.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bifunctor.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bifunctor.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bool.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bool.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Bool.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/CallStack.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/CallStack.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/CallStack.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Conv.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Conv.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Conv.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/ConvertText.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/ConvertText.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/ConvertText.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Debug.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Debug.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Debug.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Either.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Either.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Either.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Error.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Error.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Error.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Exceptions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Exceptions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Exceptions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Functor.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Functor.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Functor.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/List.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/List.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/List.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Monad.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Monad.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Monad.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Panic.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Panic.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Panic.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Partial.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Partial.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Partial.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Safe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Safe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Safe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Semiring.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Semiring.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Semiring.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Show.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Show.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Show.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Unsafe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Unsafe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Protolude/Unsafe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Applicative.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Base.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Bifunctor.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Bool.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-CallStack.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Conv.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-ConvertText.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Debug.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Either.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Error.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Exceptions.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Functor.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-List.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Monad.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Panic.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Partial.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Safe.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Semiring.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Show.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude-Unsafe.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/Protolude.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-124.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-33.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-36.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-37.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-38.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-42.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-43.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-45.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-46.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-47.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-58.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-60.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-61.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-62.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-94.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-J.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-K.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-Q.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-X.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-Y.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index-Z.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/protolude.haddock
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/protolude-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-protolude/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-protolude/buildlink3.mk:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/buildlink3.mk     Wed Feb 23 16:18:22 2022
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+BUILDLINK_TREE+=       hs-protolude
+
+.if !defined(HS_PROTOLUDE_BUILDLINK3_MK)
+HS_PROTOLUDE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-protolude+=   hs-protolude>=0.3.0
+BUILDLINK_ABI_DEPENDS.hs-protolude+=   hs-protolude>=0.3.0
+BUILDLINK_PKGSRCDIR.hs-protolude?=     ../../devel/hs-protolude
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-mtl-compat/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.endif # HS_PROTOLUDE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-protolude
Index: pkgsrc/devel/hs-protolude/distinfo
diff -u /dev/null pkgsrc/devel/hs-protolude/distinfo:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/distinfo  Wed Feb 23 16:18:22 2022
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+BLAKE2s (protolude-0.3.0.tar.gz) = 5a3480875bcea6b86ba51e72256d319083d53837ede620b9a69cec7bb285aea8
+SHA512 (protolude-0.3.0.tar.gz) = 0941e344320e09fca457ce0be31b1fbb7c715a11ea371263d029942cb649bfb1194b012493e31697c5a05bd3e4de5108bcd2c82c79c9f2f30b260959ec8f0738
+Size (protolude-0.3.0.tar.gz) = 19645 bytes
+SHA1 (patch-protolude.cabal) = 60c89036c59010a6071c277684260ca3a9c4f387
+SHA1 (patch-src_Protolude.hs) = c86fce59c022fcde9094a8c6b2164e7f9ff3d1b5
+SHA1 (patch-src_Protolude_Base.hs) = 7f0de4a09aa66ce79cc60d25e86a01f6607fe156

Index: pkgsrc/devel/hs-protolude/patches/patch-protolude.cabal
diff -u /dev/null pkgsrc/devel/hs-protolude/patches/patch-protolude.cabal:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/patches/patch-protolude.cabal     Wed Feb 23 16:18:22 2022
@@ -0,0 +1,30 @@
+$NetBSD: patch-protolude.cabal,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+Fix build with GHC 9.2
+
+--- protolude.cabal.orig       2020-03-28 08:55:52.000000000 +0000
++++ protolude.cabal
+@@ -77,18 +77,18 @@ library
+   build-depends:
+       array                >=0.4  && <0.6
+     , async                >=2.0  && <2.3
+-    , base                 >=4.6  && <4.15
+-    , bytestring           >=0.10 && <0.11
++    , base                 >=4.6  && <5
++    , bytestring           >=0.10
+     , containers           >=0.5  && <0.7
+     , deepseq              >=1.3  && <1.5
+-    , ghc-prim             >=0.3  && <0.7
+-    , hashable             >=1.2  && <1.4
++    , ghc-prim             >=0.3
++    , hashable             >=1.2
+     , mtl                  >=2.1  && <2.3
+     , mtl-compat           >=0.2  && <0.3
+     , stm                  >=2.4  && <2.6
+     , text                 >=1.2  && <1.3
+     , transformers         >=0.2  && <0.6
+-    , transformers-compat  >=0.4  && <0.7
++    , transformers-compat  >=0.4
+ 
+   if !impl(ghc >=8.0)
+     build-depends: fail ==4.9.*
Index: pkgsrc/devel/hs-protolude/patches/patch-src_Protolude.hs
diff -u /dev/null pkgsrc/devel/hs-protolude/patches/patch-src_Protolude.hs:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/patches/patch-src_Protolude.hs    Wed Feb 23 16:18:22 2022
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_Protolude.hs,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+Fix build with GHC 9.2
+
+--- src/Protolude.hs.orig      2022-02-20 14:27:37.821200859 +0000
++++ src/Protolude.hs
+@@ -267,8 +267,10 @@ import Data.List.NonEmpty as List (
+ import Data.Semigroup as Semigroup (
+     Semigroup(sconcat, stimes)
+   , WrappedMonoid
++#if !MIN_VERSION_base(4,16,0)
+   , Option(..)
+   , option
++#endif
+   , diff
+   , cycle1
+   , stimesMonoid
Index: pkgsrc/devel/hs-protolude/patches/patch-src_Protolude_Base.hs
diff -u /dev/null pkgsrc/devel/hs-protolude/patches/patch-src_Protolude_Base.hs:1.1
--- /dev/null   Wed Feb 23 16:18:22 2022
+++ pkgsrc/devel/hs-protolude/patches/patch-src_Protolude_Base.hs       Wed Feb 23 16:18:22 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Protolude_Base.hs,v 1.1 2022/02/23 16:18:22 pho Exp $
+
+https://github.com/protolude/protolude/pull/126
+
+--- src/Protolude/Base.hs.orig 2022-02-20 14:25:46.651110411 +0000
++++ src/Protolude/Base.hs
+@@ -67,7 +67,7 @@ import GHC.Real as Base (
+   , fromIntegral
+   , fromRational
+   , gcd
+-#if MIN_VERSION_base(4,9,0)
++#if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,15,0)
+   , gcdInt'
+   , gcdWord'
+ #endif



Home | Main Index | Thread Index | Old Index