From 1faf6a0705f853a2929c2d7c12d1df5fdbc7de41 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 14 Dec 2019 11:11:11 +0000 Subject: dev-util/bnfc: tweak for ghc-8.4 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich --- dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch (limited to 'dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch') diff --git a/dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch b/dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch new file mode 100644 index 000000000000..884b0a7e57a6 --- /dev/null +++ b/dev-util/bnfc/files/bnfc-2.8.1-ghc84.patch @@ -0,0 +1,31 @@ +--- a/src/BNFC/Backend/Haskell/CFtoAbstract.hs ++++ b/src/BNFC/Backend/Haskell/CFtoAbstract.hs +@@ -25,2 +25,4 @@ import BNFC.Backend.Haskell.Utils (catToType, catvars) + import Text.PrettyPrint ++import Prelude hiding ((<>)) ++ + +--- a/src/BNFC/Backend/Haskell/CFtoPrinter.hs ++++ b/src/BNFC/Backend/Haskell/CFtoPrinter.hs +@@ -29,2 +29,3 @@ import Data.Maybe (fromJust) + import Text.PrettyPrint ++import Prelude hiding ((<>)) + +--- a/src/BNFC/Backend/Haskell/CFtoTemplate.hs ++++ b/src/BNFC/Backend/Haskell/CFtoTemplate.hs +@@ -25,2 +25,3 @@ import BNFC.CF + import BNFC.PrettyPrint ++import Prelude hiding ((<>)) + +--- a/src/BNFC/Backend/Haskell/Utils.hs ++++ b/src/BNFC/Backend/Haskell/Utils.hs +@@ -10,2 +10,3 @@ import BNFC.CF (Cat(..), identCat, normCat) + import BNFC.Utils (mkNames, NameStyle(..)) ++import Prelude hiding ((<>)) + +--- a/src/BNFC/PrettyPrint.hs ++++ b/src/BNFC/PrettyPrint.hs +@@ -10,2 +10,3 @@ module BNFC.PrettyPrint + import Text.PrettyPrint ++import Prelude hiding ((<>)) + -- cgit v1.2.3-65-gdbad