Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/gtk/files/
Date: Wed, 03 Aug 2016 07:36:33
Message-Id: 1470208914.c2c54f8e6fa08028e196727d491927d57928e122.monsieurp@gentoo
1 commit: c2c54f8e6fa08028e196727d491927d57928e122
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 26 16:44:45 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 3 07:21:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c54f8e
7
8 dev-haskell/gtk: remove unused patches
9
10 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
11
12 dev-haskell/gtk/files/gtk-0.12.0-ghc-7.2.patch | 23 --
13 dev-haskell/gtk/files/gtk-0.12.3-glib-2.32.patch | 18 --
14 dev-haskell/gtk/files/gtk-0.12.3.1-ghc-7.6.patch | 287 -----------------------
15 dev-haskell/gtk/files/gtk-0.13.4-ghc-7.10.patch | 20 --
16 4 files changed, 348 deletions(-)
17
18 diff --git a/dev-haskell/gtk/files/gtk-0.12.0-ghc-7.2.patch b/dev-haskell/gtk/files/gtk-0.12.0-ghc-7.2.patch
19 deleted file mode 100644
20 index 1d454c5..0000000
21 --- a/dev-haskell/gtk/files/gtk-0.12.0-ghc-7.2.patch
22 +++ /dev/null
23 @@ -1,23 +0,0 @@
24 -diff --git a/Graphics/UI/Gtk/General/Structs.hsc b/Graphics/UI/Gtk/General/Structs.hsc
25 -index 2df0385..c1b8452 100644
26 ---- a/Graphics/UI/Gtk/General/Structs.hsc
27 -+++ b/Graphics/UI/Gtk/General/Structs.hsc
28 -@@ -1,4 +1,5 @@
29 - {-# LANGUAGE ScopedTypeVariables, TypeSynonymInstances #-}
30 -+{-# LANGUAGE FlexibleInstances #-}
31 - {-# OPTIONS_HADDOCK hide #-}
32 - -- -*-haskell-*-
33 -
34 -diff --git a/gtk.cabal b/gtk.cabal
35 -index bd97975..aa7165f 100644
36 ---- a/gtk.cabal
37 -+++ b/gtk.cabal
38 -@@ -126,7 +126,7 @@ Flag have-gio
39 -
40 - Library
41 - build-depends: base >= 4 && < 5,
42 -- array, containers, haskell98, mtl, bytestring,
43 -+ array, containers, mtl, bytestring,
44 - glib >= 0.12.0 && < 0.13,
45 - pango >= 0.12.0 && < 0.13,
46 - cairo >= 0.12.0 && < 0.13
47
48 diff --git a/dev-haskell/gtk/files/gtk-0.12.3-glib-2.32.patch b/dev-haskell/gtk/files/gtk-0.12.3-glib-2.32.patch
49 deleted file mode 100644
50 index 1f07c07..0000000
51 --- a/dev-haskell/gtk/files/gtk-0.12.3-glib-2.32.patch
52 +++ /dev/null
53 @@ -1,18 +0,0 @@
54 -fix build failure against recent glib-2.32
55 -
56 -In file included from Graphics/UI/Gtk/General/hsgthread.c:29:0:
57 -
58 -/usr/include/glib-2.0/glib/gthread.h:28:2:
59 - ошибка: #error "Only <glib.h> can be included directly."
60 -diff --git a/Graphics/UI/Gtk/General/hsgthread.c b/Graphics/UI/Gtk/General/hsgthread.c
61 -index 5eaed46..6d20e73 100644
62 ---- a/Graphics/UI/Gtk/General/hsgthread.c
63 -+++ b/Graphics/UI/Gtk/General/hsgthread.c
64 -@@ -26,7 +26,6 @@
65 - */
66 -
67 - #include <glib.h>
68 --#include <glib/gthread.h>
69 - #include <gdk/gdk.h>
70 - #include "hsgthread.h"
71 -
72
73 diff --git a/dev-haskell/gtk/files/gtk-0.12.3.1-ghc-7.6.patch b/dev-haskell/gtk/files/gtk-0.12.3.1-ghc-7.6.patch
74 deleted file mode 100644
75 index ab5a997..0000000
76 --- a/dev-haskell/gtk/files/gtk-0.12.3.1-ghc-7.6.patch
77 +++ /dev/null
78 @@ -1,287 +0,0 @@
79 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/Windows/Assistant.chs 2012-06-18 07:39:34.000000000 +1000
80 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/Windows/Assistant.chs 2012-10-11 12:51:38.040935853 +1100
81 -@@ -274,7 +274,7 @@
82 - {#pointer AssistantPageFunc#}
83 -
84 - foreign import ccall "wrapper" mkAssistantPageFunc ::
85 -- ({#type glong#} -> Ptr () -> IO {#type glong#})
86 -+ ({#type gint#} -> Ptr () -> IO {#type gint#})
87 - -> IO AssistantPageFunc
88 -
89 - -- | Sets the page type for @page@. The page type determines the page behavior
90 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-06-18 07:39:34.000000000 +1000
91 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-10-11 12:50:59.510893025 +1100
92 -@@ -797,7 +797,7 @@
93 - {#pointer TextCharPredicate#}
94 -
95 - foreign import ccall "wrapper" mkTextCharPredicate ::
96 -- ({#type gunichar#} -> Ptr () -> {#type gboolean#}) -> IO TextCharPredicate
97 -+ ({#type gunichar#} -> Ptr () -> IO {#type gboolean#}) -> IO TextCharPredicate
98 -
99 - -- | Move 'TextIter' forward until a
100 - -- predicate function returns True.
101 -@@ -810,7 +810,7 @@
102 - textIterForwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
103 - IO Bool
104 - textIterForwardFindChar ti pred limit = do
105 -- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
106 -+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
107 - res <- liftM toBool $ {#call text_iter_forward_find_char#}
108 - ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
109 - freeHaskellFunPtr fPtr
110 -@@ -827,7 +827,7 @@
111 - textIterBackwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
112 - IO Bool
113 - textIterBackwardFindChar ti pred limit = do
114 -- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
115 -+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
116 - res <- liftM toBool $ {#call text_iter_backward_find_char#}
117 - ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
118 - freeHaskellFunPtr fPtr
119 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-06-18 07:39:34.000000000 +1000
120 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-10-11 12:50:02.711356413 +1100
121 -@@ -582,7 +582,7 @@
122 - {#pointer TreeViewColumnDropFunc#}
123 -
124 - foreign import ccall "wrapper" mkTreeViewColumnDropFunc ::
125 -- (Ptr () -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
126 -+ (Ptr TreeView -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
127 - Ptr () -> IO {#type gboolean#}) -> IO TreeViewColumnDropFunc
128 -
129 - -- | Scroll to a coordinate.
130 -@@ -798,7 +798,7 @@
131 - {#pointer TreeViewMappingFunc#}
132 -
133 - foreign import ccall "wrapper" mkTreeViewMappingFunc ::
134 -- (Ptr () -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
135 -+ (Ptr TreeView -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
136 - IO TreeViewMappingFunc
137 -
138 - -- | Check if row is expanded.
139 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-06-18 07:39:34.000000000 +1000
140 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-10-11 12:49:22.402264615 +1100
141 -@@ -151,7 +151,7 @@
142 - treeSelectionSetSelectFunction :: TreeSelectionClass self => self
143 - -> TreeSelectionCB -> IO ()
144 - treeSelectionSetSelectFunction ts fun = do
145 -- fPtr <- mkTreeSelectionFunc (\_ _ tp _ -> do
146 -+ fPtr <- mkTreeSelectionFunc (\_ _ tp _ _ -> do
147 - path <- peekTreePath (castPtr tp)
148 - liftM fromBool $ fun path
149 - )
150 -@@ -168,7 +168,7 @@
151 - {#pointer TreeSelectionFunc#}
152 -
153 - foreign import ccall "wrapper" mkTreeSelectionFunc ::
154 -- (Ptr () -> Ptr () -> Ptr TreePath -> Ptr () -> IO CInt)->
155 -+ (Ptr TreeSelection -> Ptr TreeModel -> Ptr NativeTreePath -> {#type gint#} -> Ptr () -> IO CInt)->
156 - IO TreeSelectionFunc
157 -
158 - -- | Retrieve the 'TreeView' widget that this 'TreeSelection' works on.
159 -@@ -199,7 +199,7 @@
160 - -> TreeSelectionForeachCB
161 - -> IO ()
162 - treeSelectionSelectedForeach self fun = do
163 -- fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr -> do
164 -+ fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr _ -> do
165 - -- make a deep copy of the iterator. This makes it possible to store this
166 - -- iterator in Haskell land somewhere. The TreeModel parameter is not
167 - -- passed to the function due to performance reasons. But since it is
168 -@@ -219,7 +219,7 @@
169 - {#pointer TreeSelectionForeachFunc#}
170 -
171 - foreign import ccall "wrapper" mkTreeSelectionForeachFunc ::
172 -- (Ptr () -> Ptr () -> Ptr TreeIter -> IO ()) -> IO TreeSelectionForeachFunc
173 -+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO ()) -> IO TreeSelectionForeachFunc
174 -
175 - #if GTK_CHECK_VERSION(2,2,0)
176 - -- | Creates a list of paths of all selected rows.
177 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-06-18 07:39:34.000000000 +1000
178 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-10-11 12:47:30.867237897 +1100
179 -@@ -160,7 +160,7 @@
180 - {#pointer TreeModelFilterVisibleFunc #}
181 -
182 - foreign import ccall "wrapper" mkTreeModelFilterVisibleFunc ::
183 -- (Ptr TreeModelFilter -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
184 -+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
185 - IO TreeModelFilterVisibleFunc
186 -
187 - -- %hash c:a56d d:b42e
188 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-06-18 07:39:34.000000000 +1000
189 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-10-11 12:47:06.478576590 +1100
190 -@@ -427,7 +427,7 @@
191 - {#pointer TreeModelForeachFunc#}
192 -
193 - foreign import ccall "wrapper" mkTreeModelForeachFunc ::
194 -- (Ptr () -> Ptr () -> Ptr TreeIter -> Ptr () -> IO CInt) ->
195 -+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO CInt) ->
196 - IO TreeModelForeachFunc
197 -
198 - #if GTK_CHECK_VERSION(2,2,0)
199 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-06-18 07:39:34.000000000 +1000
200 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-10-11 12:46:41.970912216 +1100
201 -@@ -493,17 +493,17 @@
202 - {# call gtk_combo_box_set_row_separator_func #}
203 - (toComboBox self) nullFunPtr nullPtr nullFunPtr
204 - comboBoxSetRowSeparatorSource self (Just (model, extract)) = do
205 -- funPtr <- mkRowSeparatorFunc $ \_ iterPtr -> do
206 -+ funPtr <- mkRowSeparatorFunc $ \_ iterPtr _ -> do
207 - iter <- peek iterPtr
208 - value <- customStoreGetRow model iter
209 -- return (extract value)
210 -+ return (fromBool $ extract value)
211 - {# call gtk_combo_box_set_row_separator_func #}
212 - (toComboBox self) funPtr (castFunPtrToPtr funPtr) destroyFunPtr
213 -
214 - {#pointer TreeViewRowSeparatorFunc#}
215 -
216 - foreign import ccall "wrapper" mkRowSeparatorFunc ::
217 -- (Ptr TreeModel -> Ptr TreeIter -> IO Bool) -> IO TreeViewRowSeparatorFunc
218 -+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean #}) -> IO TreeViewRowSeparatorFunc
219 -
220 - -- %hash c:5bf8
221 - -- | Sets whether the popup menu should have a tearoff menu item.
222 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/General/Clipboard.chs 2012-06-18 07:39:34.000000000 +1000
223 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/General/Clipboard.chs 2012-10-11 12:45:41.325267512 +1100
224 -@@ -260,7 +260,7 @@
225 - -- data succeeded.
226 - clipboardSetWithData self targets getFunc clearFunc = do
227 - gFunPtr <- mkClipboardGetFunc
228 -- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
229 -+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
230 - cFunPtr <- mkClipboardClearFunc
231 - (\_ _ -> clearFunc)
232 - res <- withTargetEntries targets $ \nTargets targets ->
233 -@@ -282,7 +282,7 @@
234 - {#pointer ClipboardClearFunc#}
235 -
236 - foreign import ccall "wrapper" mkClipboardGetFunc ::
237 -- (Ptr Clipboard -> Ptr () -> {#type guint#} -> IO ()) -> IO ClipboardGetFunc
238 -+ (Ptr Clipboard -> Ptr () -> {#type guint#} -> Ptr () -> IO ()) -> IO ClipboardGetFunc
239 -
240 - foreign import ccall "wrapper" mkClipboardClearFunc ::
241 - (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardClearFunc
242 -@@ -313,7 +313,7 @@
243 - -- ignored.
244 - clipboardSetWithOwner self targets getFunc clearFunc owner = do
245 - gFunPtr <- mkClipboardGetFunc
246 -- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
247 -+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
248 - cFunPtr <- mkClipboardClearFunc
249 - (\_ _ -> clearFunc)
250 - res <- withTargetEntries targets $ \nTargets targets ->
251 -@@ -404,7 +404,7 @@
252 - clipboardRequestContents self (Atom target) callback = do
253 - cbRef <- newIORef nullFunPtr
254 - cbPtr <- mkClipboardReceivedFunc
255 -- (\_ sPtr -> do
256 -+ (\_ sPtr _ -> do
257 - freeHaskellFunPtr =<< readIORef cbRef
258 - runReaderT callback sPtr
259 - return ())
260 -@@ -418,7 +418,7 @@
261 - {#pointer ClipboardReceivedFunc#}
262 -
263 - foreign import ccall "wrapper" mkClipboardReceivedFunc ::
264 -- (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
265 -+ (Ptr Clipboard -> Ptr () -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
266 -
267 - -- %hash c:7bb1 d:4ef1
268 - -- | Requests the contents of the clipboard as text. When the text is later
269 -@@ -439,7 +439,7 @@
270 - clipboardRequestText self callback = do
271 - cbRef <- newIORef nullFunPtr
272 - cbPtr <- mkClipboardTextReceivedFunc
273 -- (\_ sPtr -> do
274 -+ (\_ sPtr _ -> do
275 - freeHaskellFunPtr =<< readIORef cbRef
276 - mStr <- if sPtr==nullPtr then return Nothing else
277 - liftM Just $ peekUTFString sPtr
278 -@@ -453,7 +453,7 @@
279 - {#pointer ClipboardTextReceivedFunc#}
280 -
281 - foreign import ccall "wrapper" mkClipboardTextReceivedFunc ::
282 -- (Ptr Clipboard -> CString -> IO ()) -> IO ClipboardTextReceivedFunc
283 -+ (Ptr Clipboard -> CString -> Ptr () -> IO ()) -> IO ClipboardTextReceivedFunc
284 -
285 -
286 - #if GTK_CHECK_VERSION(2,6,0)
287 -@@ -477,7 +477,7 @@
288 - clipboardRequestImage self callback = do
289 - cbRef <- newIORef nullFunPtr
290 - cbPtr <- mkClipboardImageReceivedFunc
291 -- (\_ sPtr -> do
292 -+ (\_ sPtr _ -> do
293 - freeHaskellFunPtr =<< readIORef cbRef
294 - mPixbuf <- maybeNull (makeNewGObject mkPixbuf) (return sPtr)
295 - callback mPixbuf)
296 -@@ -490,7 +490,7 @@
297 - {#pointer ClipboardImageReceivedFunc#}
298 -
299 - foreign import ccall "wrapper" mkClipboardImageReceivedFunc ::
300 -- (Ptr Clipboard -> Ptr Pixbuf -> IO ()) -> IO ClipboardImageReceivedFunc
301 -+ (Ptr Clipboard -> Ptr Pixbuf -> Ptr () -> IO ()) -> IO ClipboardImageReceivedFunc
302 -
303 - #endif
304 -
305 -@@ -513,7 +513,7 @@
306 - clipboardRequestTargets self callback = do
307 - cbRef <- newIORef nullFunPtr
308 - cbPtr <- mkClipboardTargetsReceivedFunc
309 -- (\_ tPtr len -> do
310 -+ (\_ tPtr len _ -> do
311 - -- We must free Haskell pointer *in* the callback to avoid segfault.
312 - freeHaskellFunPtr =<< readIORef cbRef
313 - mTargets <- if tPtr==nullPtr then return Nothing else
314 -@@ -528,7 +528,7 @@
315 - {#pointer ClipboardTargetsReceivedFunc#}
316 -
317 - foreign import ccall "wrapper" mkClipboardTargetsReceivedFunc ::
318 -- (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> IO ()) -> IO ClipboardTargetsReceivedFunc
319 -+ (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> Ptr () -> IO ()) -> IO ClipboardTargetsReceivedFunc
320 -
321 - #if GTK_CHECK_VERSION(2,10,0)
322 - -- %hash c:5601 d:d6a6
323 -@@ -552,10 +552,10 @@
324 - clipboardRequestRichText self buffer callback = do
325 - cbRef <- newIORef nullFunPtr
326 - cbPtr <- mkClipboardRichTextReceivedFunc
327 -- (\_ tPtr sPtr len -> do
328 -+ (\_ tPtr sPtr len _ -> do
329 - freeHaskellFunPtr =<< readIORef cbRef
330 - mRes <- if sPtr==nullPtr then return Nothing else liftM Just $ do
331 -- str <- peekUTFStringLen (sPtr,fromIntegral len)
332 -+ str <- peekUTFStringLen (castPtr sPtr,fromIntegral len)
333 - return (Atom tPtr, str)
334 - callback mRes)
335 - writeIORef cbRef cbPtr
336 -@@ -568,7 +568,7 @@
337 - {#pointer ClipboardRichTextReceivedFunc#}
338 -
339 - foreign import ccall "wrapper" mkClipboardRichTextReceivedFunc ::
340 -- (Ptr Clipboard -> Ptr () -> CString -> {#type gsize#} -> IO ()) ->
341 -+ (Ptr Clipboard -> Ptr () -> Ptr CUChar -> {#type gsize#} -> Ptr () -> IO ()) ->
342 - IO ClipboardRichTextReceivedFunc
343 - #endif
344 - #endif
345 ---- gtk-0.12.3.1-orig/Graphics/UI/Gtk/Abstract/Object.chs 2012-06-18 07:39:34.000000000 +1000
346 -+++ gtk-0.12.3.1/Graphics/UI/Gtk/Abstract/Object.chs 2012-10-11 12:40:38.320051642 +1100
347 -@@ -126,7 +126,8 @@
348 -
349 - {#pointer GWeakNotify#}
350 -
351 --foreign import ccall "wrapper" mkDestructor :: IO () -> IO GWeakNotify
352 -+foreign import ccall "wrapper" mkDestructor
353 -+ :: (Ptr () -> Ptr GObject -> IO ()) -> IO GWeakNotify
354 -
355 - -- | Attach a callback that will be called after the
356 - -- destroy hooks have been called
357 -@@ -134,7 +135,7 @@
358 - objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify
359 - objectWeakref obj uFun = do
360 - funPtrContainer <- newIORef nullFunPtr
361 -- uFunPtr <- mkDestructor $ do
362 -+ uFunPtr <- mkDestructor $ \_ _ -> do
363 - uFun
364 - funPtr <- readIORef funPtrContainer
365 - freeHaskellFunPtr funPtr
366
367 diff --git a/dev-haskell/gtk/files/gtk-0.13.4-ghc-7.10.patch b/dev-haskell/gtk/files/gtk-0.13.4-ghc-7.10.patch
368 deleted file mode 100644
369 index f322ed7..0000000
370 --- a/dev-haskell/gtk/files/gtk-0.13.4-ghc-7.10.patch
371 +++ /dev/null
372 @@ -1,20 +0,0 @@
373 ---- gtk-0.13.4-orig/SetupWrapper.hs 2014-12-24 22:16:46.000000000 +1100
374 -+++ gtk-0.13.4/SetupWrapper.hs 2015-03-10 22:00:39.902873712 +1100
375 -@@ -18,7 +18,7 @@
376 -
377 - import System.Environment
378 - import System.Process
379 --import System.Exit
380 -+import System.Exit (ExitCode(..), exitWith)
381 - import System.FilePath
382 - import System.Directory
383 - import qualified Control.Exception as Exception
384 ---- gtk-0.13.4-orig/Graphics/UI/Gtk/Gdk/EventM.hsc 2014-12-24 22:16:46.000000000 +1100
385 -+++ gtk-0.13.4/Graphics/UI/Gtk/Gdk/EventM.hsc 2015-03-10 21:44:29.022453643 +1100
386 -@@ -1,5 +1,6 @@
387 - {-# LANGUAGE ScopedTypeVariables #-}
388 - {-# LANGUAGE EmptyDataDecls #-}
389 -+{-# LANGUAGE FlexibleContexts #-}
390 - -- -*-haskell-*-
391 -
392 - #include <gtk/gtk.h>