summaryrefslogtreecommitdiff
path: root/p/haskell-persistent
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-07-23 15:03:39 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2015-07-23 15:03:47 +0200
commitd410a68a428c0301472f4e43cafa2f881d5b6b3c (patch)
tree4566256253c879db84ea01c2e330962d4b1b9e30 /p/haskell-persistent
parent406b9478b2b8d260602189312e4769b64d8e1509 (diff)
downloadDHG_packages-d410a68a428c0301472f4e43cafa2f881d5b6b3c.tar.gz
persistent: This package does not actually use Template Haskell, do not claim it does.
Diffstat (limited to 'p/haskell-persistent')
-rw-r--r--p/haskell-persistent/debian/changelog6
-rw-r--r--p/haskell-persistent/debian/control1
-rw-r--r--p/haskell-persistent/debian/patches/no-tempate-haskell22
-rw-r--r--p/haskell-persistent/debian/patches/series1
4 files changed, 29 insertions, 1 deletions
diff --git a/p/haskell-persistent/debian/changelog b/p/haskell-persistent/debian/changelog
index 98a8a4251..dcec251c7 100644
--- a/p/haskell-persistent/debian/changelog
+++ b/p/haskell-persistent/debian/changelog
@@ -1,3 +1,9 @@
+haskell-persistent (2.1.6-2) unstable; urgency=medium
+
+ * This package does not actually use Template Haskell, do not claim it does.
+
+ -- Joachim Breitner <nomeata@debian.org> Thu, 23 Jul 2015 15:03:41 +0200
+
haskell-persistent (2.1.6-1) unstable; urgency=medium
* New upstream version.
diff --git a/p/haskell-persistent/debian/control b/p/haskell-persistent/debian/control
index 31474039e..da015ecd0 100644
--- a/p/haskell-persistent/debian/control
+++ b/p/haskell-persistent/debian/control
@@ -44,7 +44,6 @@ Build-Depends: debhelper (>= 9)
, libghc-tagged-prof
, libghc-fast-logger-dev (>= 2.1)
, libghc-fast-logger-prof
- , ghc-ghci
, libghc-text-dev (>= 0.8)
, libghc-text-prof
, libghc-transformers-base-dev
diff --git a/p/haskell-persistent/debian/patches/no-tempate-haskell b/p/haskell-persistent/debian/patches/no-tempate-haskell
new file mode 100644
index 000000000..9ae57e04a
--- /dev/null
+++ b/p/haskell-persistent/debian/patches/no-tempate-haskell
@@ -0,0 +1,22 @@
+Description: TemplateHaskell is unused
+ Some modules enable the TemplateHaskell extension without actually using it.
+Author: Joachim Breitner <nomeata@debian.org>
+Forwarded: https://github.com/yesodweb/persistent/issues/427
+
+--- haskell-persistent-2.1.6.orig/Database/Persist/Quasi.hs
++++ haskell-persistent-2.1.6/Database/Persist/Quasi.hs
+@@ -2,7 +2,6 @@
+ {-# LANGUAGE CPP #-}
+ {-# LANGUAGE PatternGuards #-}
+ {-# LANGUAGE ViewPatterns #-}
+-{-# LANGUAGE TemplateHaskell #-}
+ module Database.Persist.Quasi
+ ( parse
+ , PersistSettings (..)
+--- haskell-persistent-2.1.6.orig/Database/Persist/Sql/Raw.hs
++++ haskell-persistent-2.1.6/Database/Persist/Sql/Raw.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ {-# LANGUAGE OverloadedStrings #-}
+ {-# LANGUAGE FlexibleContexts #-}
+ module Database.Persist.Sql.Raw where
diff --git a/p/haskell-persistent/debian/patches/series b/p/haskell-persistent/debian/patches/series
new file mode 100644
index 000000000..bb34b4d49
--- /dev/null
+++ b/p/haskell-persistent/debian/patches/series
@@ -0,0 +1 @@
+no-tempate-haskell