summaryrefslogtreecommitdiff
path: root/devel/hs-cabal-install/files/patch-Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-cabal-install/files/patch-Main.hs')
-rw-r--r--devel/hs-cabal-install/files/patch-Main.hs24
1 files changed, 0 insertions, 24 deletions
diff --git a/devel/hs-cabal-install/files/patch-Main.hs b/devel/hs-cabal-install/files/patch-Main.hs
deleted file mode 100644
index fa1da85aaf3e..000000000000
--- a/devel/hs-cabal-install/files/patch-Main.hs
+++ /dev/null
@@ -1,24 +0,0 @@
---- ./Main.hs.orig 2012-04-17 17:17:31.000000000 +0200
-+++ ./Main.hs 2012-11-23 20:47:29.000000000 +0100
-@@ -75,7 +75,7 @@
- ( Verbosity, normal, intToVerbosity, lessVerbose )
- import qualified Paths_cabal_install (version)
-
--import System.Environment (getArgs, getProgName)
-+import System.Environment (getArgs)
- import System.Exit (exitFailure)
- import System.FilePath (splitExtension, takeExtension)
- import System.Directory (doesFileExist)
-@@ -107,10 +107,10 @@
-
- where
- printCommandHelp help = do
-- pname <- getProgName
-+ let pname = "cabal"
- putStr (help pname)
- printGlobalHelp help = do
-- pname <- getProgName
-+ let pname = "cabal"
- configFile <- defaultConfigFile
- putStr (help pname)
- putStr $ "\nYou can edit the cabal configuration file to set defaults:\n"