summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch')
-rw-r--r--dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch b/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch
new file mode 100644
index 000000000000..649e9cc6368f
--- /dev/null
+++ b/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch
@@ -0,0 +1,27 @@
+From 11051d3af3d490f30b06a08e5b1f0b14eb648ece Mon Sep 17 00:00:00 2001
+From: Simon Jakobi <simon.jakobi@gmail.com>
+Date: Fri, 17 Dec 2021 14:47:41 +0100
+Subject: [PATCH] Disable doctests for GHC >= 9.2
+
+Closes #38.
+
+Bug: https://github.com/sjakobi/bsb-http-chunked/pull/39
+Signed-off-by: hololeap <hololeap@users.noreply.github.com>
+---
+ bsb-http-chunked.cabal | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/bsb-http-chunked.cabal b/bsb-http-chunked.cabal
+index 95cbd7e..b56651c 100644
+--- a/bsb-http-chunked.cabal
++++ b/bsb-http-chunked.cabal
+@@ -66,6 +66,9 @@ test-suite doctests
+ , doctest >= 0.8
+ ghc-options: -Wall
+ type: exitcode-stdio-1.0
++ if impl(ghc >= 9.2)
++ -- https://github.com/sjakobi/bsb-http-chunked/issues/38
++ buildable: False
+
+ benchmark bench
+ hs-source-dirs: bench