diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 15:22:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 15:22:55 +0100 |
commit | 3a2444aaf0bafd5c58c0dc8dda102352f20c76d8 (patch) | |
tree | 055720c0e02ac3f8bc4255b6740f18ba32db1c54 /dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch | |
parent | b94ab464dd0d948b7e7eac833b9bb51c03515918 (diff) |
gentoo auto-resync : 29:09:2022 - 15:22:54
Diffstat (limited to 'dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch')
-rw-r--r-- | dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch b/dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch deleted file mode 100644 index 295fcdd876f9..000000000000 --- a/dev-haskell/mustache/files/mustache-2.4.0-ghc-8_10-fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: hololeap <hololeap@protonmail.com> -Signed-off-by: hololeap <hololeap@protonmail.com> - -Fixes a weird bug observed in a sandbox with ghc-8.10.6. This may not be -necessary on other systems. - -diff -urN mustache-2.4.0/src/Text/Mustache/Parser.hs mustache-2.4.0-r1/src/Text/Mustache/Parser.hs ---- mustache-2.4.0/src/Text/Mustache/Parser.hs 2021-11-23 07:31:36.000000000 -0700 -+++ mustache-2.4.0-r1/src/Text/Mustache/Parser.hs 2022-02-22 18:30:48.436611631 -0700 -@@ -37,9 +37,10 @@ - - import Control.Monad - import Data.Char (isAlphaNum, isSpace) -+import Data.Functor.Identity - import Data.List (nub) - import Data.Monoid ((<>)) --import Data.Text as T (Text, null, pack) -+import Data.Text as T (Text, null, pack, uncons) - import Prelude as Prel - import Text.Mustache.Types - import Text.Parsec as P hiding (endOfLine, parse) -@@ -66,6 +67,8 @@ - | Tag (Node Text) - | HandledTag - -+instance {-# OVERLAPPING #-} Stream Text Identity Char where -+ uncons = return . T.uncons - - -- | @#@ - sectionBegin :: Char |