summaryrefslogtreecommitdiff
path: root/dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-30 09:09:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-30 09:09:34 +0100
commitad0412d0cafb8c04ce98024155cf99a4cc27db44 (patch)
treec34688ab389c18775a322de6cd4cfd957cbe8014 /dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch
parentcdb747b791914a30c287a3a8e33d1b635e431707 (diff)
gentoo auto-resync : 30:07:2022 - 09:09:33
Diffstat (limited to 'dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch')
-rw-r--r--dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch b/dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch
new file mode 100644
index 000000000000..78d0ceb93575
--- /dev/null
+++ b/dev-haskell/regex-compat-tdfa/files/regex-compat-tdfa-0.95.1.4-ghc-9.0.patch
@@ -0,0 +1,11 @@
+--- regex-compat-tdfa-0.95.1.4-orig/Text/Regex.hs 2021-06-25 10:08:26.670791461 +1000
++++ regex-compat-tdfa-0.95.1.4/Text/Regex.hs 2021-06-25 10:08:10.325737439 +1000
+@@ -139,7 +139,7 @@
+ splitRegex :: Regex -> String -> [String]
+ splitRegex _ [] = []
+ splitRegex delim strIn =
+- let matches = map (!0) (matchAll delim strIn)
++ let matches = map (! 0) (matchAll delim strIn)
+ go _i str [] = str : []
+ go i str ((off,len):rest) =
+ let i' = off+len