summaryrefslogtreecommitdiff
path: root/standalone/android/haskell-patches/distributive_0.3-0001-fixes-for-cross-build.patch
blob: 87cdef3089a935728e5086c7d0d84fe6b8e4fa29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From ddf49377d37c82575c1b0b712a476fa93fc00d6b Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Thu, 18 Apr 2013 17:39:28 -0400
Subject: [PATCH] fixes for cross build

---
 distributive.cabal       | 2 +-
 src/Data/Distributive.hs | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/distributive.cabal b/distributive.cabal
index 66ac73c..5204755 100644
--- a/distributive.cabal
+++ b/distributive.cabal
@@ -12,7 +12,7 @@ bug-reports:   http://github.com/ekmett/distributive/issues
 copyright:     Copyright (C) 2011 Edward A. Kmett
 synopsis:      Haskell 98 Distributive functors -- Dual to Traversable
 description:   Haskell 98 Distributive functors -- Dual to Traversable
-build-type:    Custom
+build-type:    Simple
 extra-source-files:
   .ghci
   .travis.yml
diff --git a/src/Data/Distributive.hs b/src/Data/Distributive.hs
index 6f5613d..66eaed2 100644
--- a/src/Data/Distributive.hs
+++ b/src/Data/Distributive.hs
@@ -26,8 +26,6 @@ import Data.Functor.Identity
 import Data.Functor.Product
 import Data.Functor.Reverse
 
-{-# ANN module "ignore Use section" #-}
-
 -- | This is the categorical dual of 'Traversable'. However, there appears
 -- to be little benefit to allow the distribution via an arbitrary comonad
 -- so we restrict ourselves to 'Functor'.
-- 
1.8.2.rc3