aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-04-27 15:57:39 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-04-27 15:57:39 +0200
commit41bffc2412501b5c399be9b211560d20d962099e (patch)
tree6e090f9c4c4cdd0109733e3b05b8595383648c01 /x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch
parent2de3dd4f6db582a4da2cf91631c33ff0e21f2d94 (diff)
parent82f1a0613dec0834e3cf70b198f1b357f2ce6581 (diff)
downloadoverlay-41bffc2412501b5c399be9b211560d20d962099e.tar.gz
overlay-41bffc2412501b5c399be9b211560d20d962099e.tar.xz
overlay-41bffc2412501b5c399be9b211560d20d962099e.zip
Merge branch 'master' of ssh://git.animux.de/overlay
Diffstat (limited to 'x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch')
-rw-r--r--x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch b/x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch
new file mode 100644
index 0000000..d5b8724
--- /dev/null
+++ b/x11-wm/xmonad/files/xmonad-0.9.1-move-to-oldexception.patch
@@ -0,0 +1,52 @@
+diff --git a/XMonad/Core.hs b/XMonad/Core.hs
+index 1b7b70a..aedf7cc 100644
+--- a/XMonad/Core.hs
++++ b/XMonad/Core.hs
+@@ -33,7 +33,7 @@ module XMonad.Core (
+ import XMonad.StackSet hiding (modify)
+
+ import Prelude hiding ( catch )
+-import Control.Exception (catch, try, bracket, throw, finally, Exception(ExitException))
++import Control.OldException (catch, try, bracket, throw, finally, Exception(ExitException))
+ import Control.Applicative
+ import Control.Monad.State
+ import Control.Monad.Reader
+diff --git a/XMonad/ManageHook.hs b/XMonad/ManageHook.hs
+index be9bc58..c5674c0 100644
+--- a/XMonad/ManageHook.hs
++++ b/XMonad/ManageHook.hs
+@@ -22,7 +22,7 @@ import Prelude hiding (catch)
+ import XMonad.Core
+ import Graphics.X11.Xlib.Extras
+ import Graphics.X11.Xlib (Display, Window, internAtom, wM_NAME)
+-import Control.Exception (bracket, catch)
++import Control.OldException (bracket, catch)
+ import Control.Monad.Reader
+ import Data.Maybe
+ import Data.Monoid
+diff --git a/XMonad/Operations.hs b/XMonad/Operations.hs
+index fe124f3..5c8c898 100644
+--- a/XMonad/Operations.hs
++++ b/XMonad/Operations.hs
+@@ -33,7 +33,7 @@ import qualified Data.Set as S
+ import Control.Applicative
+ import Control.Monad.Reader
+ import Control.Monad.State
+-import qualified Control.Exception as C
++import qualified Control.OldException as C
+
+ import System.IO
+ import System.Posix.Process (executeFile)
+diff --git a/xmonad.cabal b/xmonad.cabal
+index 420050b..a97e187 100644
+--- a/xmonad.cabal
++++ b/xmonad.cabal
+@@ -43,7 +43,7 @@ library
+ XMonad.StackSet
+
+ if flag(small_base)
+- build-depends: base < 4 && >=3, containers, directory, process, filepath
++ build-depends: base < 5 && >=4, containers, directory, process, filepath
+ else
+ build-depends: base < 3
+ build-depends: X11>=1.5.0.0 && < 1.6, mtl, unix