diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-23 13:46:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-23 13:46:03 -0400 |
commit | 5413945f0aa2b9ae3e567c540672fe80224d6c68 (patch) | |
tree | 82eec03071962977e296c2f8ac4f0ca72417e5d7 /standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch | |
parent | adaf0a14fb9233bbc889bf4712cf4dfe276692f2 (diff) | |
parent | 60ff5607ce673659a637d09ed2d8bf9ab14f6222 (diff) |
Merge branch 'android-rebuild'
Diffstat (limited to 'standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch')
-rw-r--r-- | standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch b/standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch new file mode 100644 index 000000000..a79ca519a --- /dev/null +++ b/standalone/android/haskell-patches/SafeSemaphore_fix-build-with-new-base.patch @@ -0,0 +1,36 @@ +From 010db89634eb0f64e7961581e65da3acbb2b9f3d Mon Sep 17 00:00:00 2001 +From: foo <foo@bar> +Date: Sat, 21 Sep 2013 22:05:41 +0000 +Subject: [PATCH] fix build with new base + +--- + src/Control/Concurrent/MSampleVar.hs | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/src/Control/Concurrent/MSampleVar.hs b/src/Control/Concurrent/MSampleVar.hs +index d029c64..16ad6c5 100644 +--- a/src/Control/Concurrent/MSampleVar.hs ++++ b/src/Control/Concurrent/MSampleVar.hs +@@ -30,7 +30,7 @@ module Control.Concurrent.MSampleVar + import Control.Monad(void,join) + import Control.Concurrent.MVar(MVar,newMVar,newEmptyMVar,tryTakeMVar,takeMVar,putMVar,withMVar,isEmptyMVar) + import Control.Exception(mask_) +-import Data.Typeable(Typeable1(typeOf1),mkTyCon,mkTyConApp) ++import Data.Typeable(mkTyConApp) + + -- | + -- Sample variables are slightly different from a normal 'MVar': +@@ -62,10 +62,6 @@ data MSampleVar a = MSampleVar { readQueue :: MVar () + , lockedStore :: MVar (MVar a) } + deriving (Eq) + +-instance Typeable1 MSampleVar where +- typeOf1 _ = mkTyConApp tc [] +- where tc = mkTyCon "MSampleVar" +- + + -- | 'newEmptySV' allocates a new MSampleVar in an empty state. No futher + -- allocation is done when using the 'MSampleVar'. +-- +1.7.10.4 + |