From 783e7fb5822007cdfa145dafffc36b45e0be5749 Mon Sep 17 00:00:00 2001
From: Herbert Valerio Riedel <hvr@gnu.org>
Date: Wed, 7 Sep 2011 09:46:17 +0200
Subject: [PATCH 2/2] Enable SafeHaskell for GHC >= 7.2
This is done since by addressing #5468 `deepseq` is becoming a GHC
boot package. This simplifies compilation of the `containers` package
which uses SafeHaskell itself and as per #5468 will be made to import
`deepseq`.
---
Control/DeepSeq.hs | 3 +++
deepseq.cabal | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Control/DeepSeq.hs b/Control/DeepSeq.hs
index b6e6d52..021a160 100644
|
a
|
b
|
|
| | 1 | #if __GLASGOW_HASKELL__ >= 701 |
| | 2 | {-# LANGUAGE Safe #-} |
| | 3 | #endif |
| 1 | 4 | ----------------------------------------------------------------------------- |
| 2 | 5 | -- | |
| 3 | 6 | -- Module : Control.DeepSeq |
diff --git a/deepseq.cabal b/deepseq.cabal
index 34c5fc4..1d83473 100644
|
a
|
b
|
|
| 30 | 30 | exposed-modules: Control.DeepSeq |
| 31 | 31 | build-depends: base >= 3 && < 5 |
| 32 | 32 | ghc-options: -Wall |
| | 33 | extensions: CPP |
| 33 | 34 | } |