From abf5df9fa872789568c2299e16814d5663661035 Mon Sep 17 00:00:00 2001
From: John MacFarlane <fiddlosopher@gmail.com>
Date: Mon, 6 Feb 2012 08:10:56 -0800
Subject: [PATCH] More cabal tweaks, default to Haskell98 for ghc 6.12
 compatibility.

---
 pandoc.cabal | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index c3adea7a8..315ae8b80 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -227,7 +227,7 @@ Library
     Ghc-Prof-Options: -auto-all -caf-all -rtsopts
   else
     Ghc-Prof-Options: -auto-all -caf-all
-  Default-Language: Haskell2010
+  Default-Language: Haskell98
   Default-Extensions: CPP
   Other-Extensions:   PatternGuards, OverloadedStrings,
                       ScopedTypeVariables, GeneralizedNewtypeDeriving,
@@ -325,7 +325,7 @@ Executable pandoc
     Ghc-Prof-Options: -auto-all -caf-all -rtsopts
   else
     Ghc-Prof-Options: -auto-all -caf-all
-  Default-Language: Haskell2010
+  Default-Language: Haskell98
   Default-Extensions: CPP
   Other-Extensions:   PatternGuards, OverloadedStrings,
                       ScopedTypeVariables, GeneralizedNewtypeDeriving,
@@ -383,7 +383,7 @@ Executable test-pandoc
     Ghc-Prof-Options: -auto-all -caf-all -rtsopts
   else
     Ghc-Prof-Options: -auto-all -caf-all
-  Default-Language: Haskell2010
+  Default-Language: Haskell98
   Default-Extensions: CPP
   Other-Extensions:   PatternGuards, OverloadedStrings,
                       ScopedTypeVariables, GeneralizedNewtypeDeriving,
@@ -400,8 +400,7 @@ Executable test-pandoc
   else
     Buildable:        False
   Other-Extensions: TemplateHaskell, QuasiQuotes
-  Default-Language: Haskell2010
-  Build-Depends:    base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.5,
+  Build-Depends:    Diff, test-framework >= 0.3 && < 0.5,
                     test-framework-hunit >= 0.2 && < 0.3,
                     test-framework-quickcheck2 >= 0.2.9 && < 0.3,
                     QuickCheck >= 2.4 && < 2.6,