freebsd-ports/devel/hs-BNFC/files/patch-formats__java__JavaTop.hs
Gabor Pali 46e9ab0ca5 - Update The Glorious Glasgow Haskell Compiler to version 7.4.1
Please note that port revision for all the Haskell ports without version changes
are also bumped.  Other per-port updates are coming soon (in separate commits)!
In addition to that, separate -docs ports are no longer needed so they are
now removed.

Thanks ashish@ for the assistance.

Obtained from:	FreeBSD Haskell
2012-06-03 20:52:29 +00:00

21 lines
604 B
Haskell

--- ./formats/java/JavaTop.hs.orig 2010-09-15 16:26:38.000000000 +0200
+++ ./formats/java/JavaTop.hs 2012-05-13 12:22:38.512466534 +0200
@@ -38,7 +38,7 @@
-- Dependencies.
-------------------------------------------------------------------
import Directory ( createDirectory )
-import IO ( try, isAlreadyExistsError )
+import System.IO.Error ( try, isAlreadyExistsError )
import Utils
import CF
@@ -49,7 +49,7 @@
import CFtoJavaSkeleton
import CFtoVisitSkel
import CFtoLatex
-import System
+import System.Exit
import GetCF ( tryReadCF, writeFileRep )
import Char
import List(intersperse)