[Pkg-haskell-commits] darcs: haskell-happstack-server: Patch .cabal file so that the template_haskell flag actually works.
Joachim Breitner
mail at joachim-breitner.de
Thu Jun 18 11:06:30 UTC 2015
Thu Jun 18 11:02:48 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Patch .cabal file so that the template_haskell flag actually works.
M ./changelog +6
A ./patches/fix_template_haskell_flag
A ./patches/series
Thu Jun 18 11:02:48 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Patch .cabal file so that the template_haskell flag actually works.
diff -rN -u old-haskell-happstack-server/changelog new-haskell-happstack-server/changelog
--- old-haskell-happstack-server/changelog 2015-06-18 11:06:29.906433652 +0000
+++ new-haskell-happstack-server/changelog 2015-06-18 11:06:29.914433655 +0000
@@ -1,3 +1,9 @@
+haskell-happstack-server (7.3.9-6) UNRELEASED; urgency=medium
+
+ * Patch .cabal file so that the template_haskell flag actually works.
+
+ -- Joachim Breitner <nomeata at debian.org> Thu, 18 Jun 2015 12:57:43 +0200
+
haskell-happstack-server (7.3.9-5) unstable; urgency=medium
* Do not depend on ghc-ghci, but set the template_haskell flag accordingly
diff -rN -u old-haskell-happstack-server/patches/fix_template_haskell_flag new-haskell-happstack-server/patches/fix_template_haskell_flag
--- old-haskell-happstack-server/patches/fix_template_haskell_flag 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-happstack-server/patches/fix_template_haskell_flag 2015-06-18 11:06:29.910433654 +0000
@@ -0,0 +1,21 @@
+Index: happstack-server-7.3.9/happstack-server.cabal
+===================================================================
+--- happstack-server-7.3.9.orig/happstack-server.cabal 2015-06-18 13:00:30.275601032 +0200
++++ happstack-server-7.3.9/happstack-server.cabal 2015-06-18 13:02:35.043596430 +0200
+@@ -104,6 +104,7 @@
+ if (flag(template_haskell) && !(arch(arm)))
+ Build-Depends: template-haskell
+ cpp-options: -DTEMPLATE_HASKELL
++ Extensions: TemplateHaskell
+
+ hs-source-dirs: src
+
+@@ -111,7 +112,7 @@
+ Build-Depends: unix
+ cpp-options: -DUNIX
+
+- Extensions: TemplateHaskell, DeriveDataTypeable, MultiParamTypeClasses,
++ Extensions: DeriveDataTypeable, MultiParamTypeClasses,
+ TypeFamilies, FlexibleContexts, OverlappingInstances,
+ FlexibleInstances, UndecidableInstances, ScopedTypeVariables,
+ TypeSynonymInstances, PatternGuards
diff -rN -u old-haskell-happstack-server/patches/series new-haskell-happstack-server/patches/series
--- old-haskell-happstack-server/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-happstack-server/patches/series 2015-06-18 11:06:29.910433654 +0000
@@ -0,0 +1 @@
+fix_template_haskell_flag
More information about the Pkg-haskell-commits
mailing list