commit: baa3f756a4e5487cfbc145fb7b8659515fccda17 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Jul 26 16:44:07 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Wed Aug 3 07:21:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa3f756
dev-haskell/glib: remove unused patches Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch | 31 ---------------------- .../glib/files/glib-0.13.0.7-ghc-7.10.patch | 11 -------- 2 files changed, 42 deletions(-) diff --git a/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch b/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch deleted file mode 100644 index 3c9ab53..0000000 --- a/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- glib-0.12.3.1-orig/System/Glib/GObject.chs 2012-05-28 08:18:53.000000000 +1000 -+++ glib-0.12.3.1/System/Glib/GObject.chs 2012-10-11 09:48:16.313701201 +1100 -@@ -127,8 +127,6 @@ - - {#pointer GDestroyNotify as DestroyNotify#} - --foreign import ccall "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify -- - -- | This function wraps any newly created objects that derives from - -- GInitiallyUnowned also known as objects with - -- \"floating-references\". The object will be refSink (for glib ---- glib-0.12.3.1-orig/System/Glib/MainLoop.chs 2012-05-28 08:18:53.000000000 +1000 -+++ glib-0.12.3.1/System/Glib/MainLoop.chs 2012-10-11 09:48:04.779383615 +1100 -@@ -71,7 +71,7 @@ - - {#pointer SourceFunc#} - --foreign import ccall "wrapper" mkSourceFunc :: IO {#type gint#} -> IO SourceFunc -+foreign import ccall "wrapper" mkSourceFunc :: (Ptr () -> IO {#type gint#}) -> IO SourceFunc - - type HandlerId = {#type guint#} - -@@ -79,7 +79,7 @@ - -- - makeCallback :: IO {#type gint#} -> IO (SourceFunc, DestroyNotify) - makeCallback fun = do -- funPtr <- mkSourceFunc fun -+ funPtr <- mkSourceFunc (const fun) - return (funPtr, destroyFunPtr) - - -- | Sets a function to be called at regular intervals, with the default diff --git a/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch b/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch deleted file mode 100644 index 75943a0..0000000 --- a/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- glib-0.13.0.7-orig/SetupWrapper.hs 2014-12-24 20:57:16.000000000 +1100 -+++ glib-0.13.0.7/SetupWrapper.hs 2015-01-03 17:39:42.464000600 +1100 -@@ -18,7 +18,7 @@ - - import System.Environment - import System.Process --import System.Exit -+import System.Exit (exitWith, ExitCode(..)) - import System.FilePath - import System.Directory - import qualified Control.Exception as Exception