public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-haskell/wxcore/files: wxcore-0.13.2.3-ghc-7.6.patch wxcore-0.13.2.1-ghc-7.6.patch
@ 2013-01-13 11:57 Mark Wright (gienah)
  0 siblings, 0 replies; only message in thread
From: Mark Wright (gienah) @ 2013-01-13 11:57 UTC (permalink / raw
  To: gentoo-commits

gienah      13/01/13 11:57:38

  Added:                wxcore-0.13.2.3-ghc-7.6.patch
  Removed:              wxcore-0.13.2.1-ghc-7.6.patch
  Log:
  Thanks to peanuts for reporting: unconditionally require x11-libs/wxGTK with opengl USE flag. Bump wxcore to 0.13.2.3.
  
  (Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 618E971F)

Revision  Changes    Path
1.1                  dev-haskell/wxcore/files/wxcore-0.13.2.3-ghc-7.6.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxcore/files/wxcore-0.13.2.3-ghc-7.6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxcore/files/wxcore-0.13.2.3-ghc-7.6.patch?rev=1.1&content-type=text/plain

Index: wxcore-0.13.2.3-ghc-7.6.patch
===================================================================
--- wxcore-0.13.2.3-orig/src/haskell/Graphics/UI/WXCore/Events.hs	2012-09-30 19:56:52.000000000 +1000
+++ wxcore-0.13.2.3/src/haskell/Graphics/UI/WXCore/Events.hs	2013-01-13 10:08:50.415293002 +1100
@@ -1,4 +1,4 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
 -----------------------------------------------------------------------------------------
 {-|	Module      :  Events
 	Copyright   :  (c) Daan Leijen 2003
@@ -241,6 +241,9 @@
 import Foreign.Marshal.Alloc
 import Foreign.Marshal.Array
 import Foreign.Marshal.Utils
+#if (__GLASGOW_HASKELL__>=705)
+import Foreign.C.Types(CInt(..))
+#endif
 
 import Data.Char ( chr ) -- used in stc
 import Data.Maybe ( fromMaybe, fromJust )
--- wxcore-0.13.2.3-orig/src/haskell/Graphics/UI/WXCore/WxcTypes.hs	2012-09-30 19:56:52.000000000 +1000
+++ wxcore-0.13.2.3/src/haskell/Graphics/UI/WXCore/WxcTypes.hs	2013-01-13 10:08:50.420293137 +1100
@@ -142,7 +142,12 @@
 
 import Data.Int
 import Data.Word
+#ifdef MIN_VERSION_base(4,5,0)
+import Debug.Trace (traceIO)
+#else
 import Debug.Trace (putTraceMsg)
+#define traceIO putTraceMsg
+#endif
 
 import Graphics.UI.WXCore.WxcObject
 import Graphics.UI.WXCore.WxcClassTypes
@@ -853,7 +858,7 @@
 withCharResult io
   = do x <- io
        if (x < 0)
-          then do putTraceMsg ("Recieved negative unicode: " ++ (show x))
+          then do traceIO ("Recieved negative unicode: " ++ (show x))
                   return '\n'
           else return (fromCWchar x)
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-13 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 11:57 [gentoo-commits] gentoo-x86 commit in dev-haskell/wxcore/files: wxcore-0.13.2.3-ghc-7.6.patch wxcore-0.13.2.1-ghc-7.6.patch Mark Wright (gienah)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox