You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/doctest/files/doctest-0.11.0-unamb-2.patch

27 lines
695 B

diff --git a/src/GhcUtil.hs b/src/GhcUtil.hs
index baa9193..1792227 100644
--- a/src/GhcUtil.hs
+++ b/src/GhcUtil.hs
@@ -1,2 +1,3 @@
{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
module GhcUtil (withGhc) where
@@ -12,3 +13,3 @@ import DynFlags (gopt_set)
#endif
-import Panic (throwGhcException)
+import "ghc" Panic (throwGhcException)
diff --git a/src/Run.hs b/src/Run.hs
index fa9096f..dca590a 100644
--- a/src/Run.hs
+++ b/src/Run.hs
@@ -1,2 +1,3 @@
{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
module Run (
@@ -23,3 +24,3 @@ import System.IO
import qualified Control.Exception as E
-import Panic
+import "ghc" Panic