From ec79901a33b6463ad77dcaf4c37e538645b4d7b5 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 12 Mar 2023 17:24:27 +0100 Subject: gnu: ghc-9.2: Adapt testsuite to grep 3.8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting with version 3.8, grep emits warning messages when pattern contain spurious slashes: grep '\+' /dev/null grep: warning: stray \ before + GHC’s testsuite does not expect that and fails. * gnu/packages/patches/ghc-9.2-grep-warnings.patch: New file. * gnu/local.mk: Add it. * gnu/packages/haskell.scm (ghc-9.2)[native-inputs]: Add patch. --- gnu/local.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index f80ca1cef0..73617d3af7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1193,6 +1193,7 @@ dist_patch_DATA = \ %D%/packages/patches/gettext-libunicode-update.patch \ %D%/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch \ %D%/packages/patches/ghc-9.2-glibc-2.33-link-order.patch \ + %D%/packages/patches/ghc-9.2-grep-warnings.patch \ %D%/packages/patches/ghc-testsuite-dlopen-pie.patch \ %D%/packages/patches/ghc-testsuite-grep-compat.patch \ %D%/packages/patches/ghc-bloomfilter-ghc9.2.patch \ -- cgit 1.4.1