aboutsummaryrefslogtreecommitdiff
path: root/graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs')
-rw-r--r--graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs20
1 files changed, 0 insertions, 20 deletions
diff --git a/graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs b/graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs
deleted file mode 100644
index 892c5fe75355..000000000000
--- a/graphics/hs-HGL/files/patch-Graphics__HGL__X11__Types.hs
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./Graphics/HGL/X11/Types.hs.orig 2009-11-03 15:50:11.000000000 +0100
-+++ ./Graphics/HGL/X11/Types.hs 2013-05-01 01:53:35.000000000 +0200
-@@ -30,6 +30,7 @@
- import Control.Concurrent.MVar (MVar)
- import Data.Bits
- import Data.Word (Word8)
-+import System.IO.Error
-
- ----------------------------------------------------------------
- -- Units
-@@ -84,8 +85,7 @@
- (X.Color p _ _ _ _) <-
- X.allocColor display color_map (X.Color 0 r g b xcolor_flags)
- return p)
-- `catch` \ err ->
-- print err >> return 0
-+ `catchIOError` \err -> print err >> return 0
- -- ioError (userError ("Error: " ++ show err
- -- ++ "\nUnable to allocate colo[u]r " ++ show (r,g,b)
- -- ++ " - I'll bet you're running Netscape."))