aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs')
-rw-r--r--devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs b/devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs
new file mode 100644
index 000000000000..9dc51c894329
--- /dev/null
+++ b/devel/hs-BNFC/files/patch-formats__cpp__CPPTop.hs
@@ -0,0 +1,14 @@
+--- ./formats/cpp/CPPTop.hs.orig 2010-09-15 16:26:38.000000000 +0200
++++ ./formats/cpp/CPPTop.hs 2012-05-13 12:14:55.788469382 +0200
+@@ -27,10 +27,9 @@
+ import CFtoCVisitSkel
+ import CFtoCPPPrinter
+ import CFtoLatex
+-import System
+ import GetCF
+ import Char
+-import System
++import System.Exit
+
+ makeCPP :: Bool -> String -> FilePath -> IO ()
+ makeCPP make name file = do