[Pkg-haskell-commits] darcs: haskell-hledger: Patch to build without TH.
Clint Adams
clint at debian.org
Sat Mar 24 18:57:35 UTC 2012
Sat Mar 24 18:57:15 UTC 2012 Clint Adams <clint at debian.org>
* Patch to build without TH.
Ignore-this: 64dcc8e22ca820a704ff5fc13e8ecb86
M ./changelog +6
M ./control -3
A ./patches/no-th.diff
A ./patches/series
Sat Mar 24 18:57:15 UTC 2012 Clint Adams <clint at debian.org>
* Patch to build without TH.
Ignore-this: 64dcc8e22ca820a704ff5fc13e8ecb86
diff -rN -u old-haskell-hledger//changelog new-haskell-hledger//changelog
--- old-haskell-hledger//changelog 2012-03-24 18:57:34.974279117 +0000
+++ new-haskell-hledger//changelog 2012-03-24 18:57:34.978274351 +0000
@@ -1,3 +1,9 @@
+haskell-hledger (0.17-2) unstable; urgency=low
+
+ * Patch to build without TH.
+
+ -- Clint Adams <clint at debian.org> Fri, 02 Mar 2012 10:53:55 -0500
+
haskell-hledger (0.17-1) unstable; urgency=low
* New upstream version.
diff -rN -u old-haskell-hledger//control new-haskell-hledger//control
--- old-haskell-hledger//control 2012-03-24 18:57:34.950280029 +0000
+++ new-haskell-hledger//control 2012-03-24 18:57:34.978274351 +0000
@@ -8,8 +8,6 @@
, haskell-devscripts (>= 0.8)
, ghc
, ghc-prof
- , libghc-cabal-file-th-dev
- , libghc-cabal-file-th-prof
, libghc-cmdargs-dev (>> 0.9.1)
, libghc-cmdargs-dev (<< 0.10)
, libghc-cmdargs-prof
@@ -38,7 +36,6 @@
, libghc-utf8-string-dev (<< 0.4)
, libghc-utf8-string-prof
Build-Depends-Indep: ghc-doc
- , libghc-cabal-file-th-doc
, libghc-cmdargs-doc
, libghc-csv-doc
, libghc-haskeline-doc
diff -rN -u old-haskell-hledger//patches/no-th.diff new-haskell-hledger//patches/no-th.diff
--- old-haskell-hledger//patches/no-th.diff 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hledger//patches/no-th.diff 2012-03-24 18:57:34.982250283 +0000
@@ -0,0 +1,45 @@
+--- a/Hledger/Cli/Version.hs
++++ b/Hledger/Cli/Version.hs
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE CPP, TemplateHaskell #-}
++{-# LANGUAGE CPP #-}
+ {-
+ Version number-related utilities. See also the Makefile.
+ -}
+@@ -10,7 +10,6 @@
+ binaryfilename
+ )
+ where
+-import Distribution.PackageDescription.TH (packageVariable, package, pkgName, pkgVersion)
+ import System.Info (os, arch)
+ import Text.Printf
+
+@@ -19,8 +18,8 @@
+
+ -- package name and version from the cabal file
+ progname, version, prognameandversion :: String
+-progname = $(packageVariable (pkgName . package))
+-version = $(packageVariable (pkgVersion . package))
++progname = "hledger"
++version = "0.17"
+ prognameandversion = progname ++ " " ++ version
+
+ -- developer build version strings include PATCHLEVEL (number of
+--- a/hledger.cabal
++++ b/hledger.cabal
+@@ -63,7 +63,6 @@
+ build-depends:
+ hledger-lib == 0.17
+ ,base >= 3 && < 5
+- ,cabal-file-th
+ ,containers
+ ,cmdargs >= 0.9.1 && < 0.10
+ ,csv
+@@ -116,7 +115,6 @@
+ build-depends:
+ hledger-lib == 0.17
+ ,base >= 3 && < 5
+- ,cabal-file-th
+ ,containers
+ ,cmdargs >= 0.9.1 && < 0.10
+ ,csv
diff -rN -u old-haskell-hledger//patches/series new-haskell-hledger//patches/series
--- old-haskell-hledger//patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hledger//patches/series 2012-03-24 18:57:34.982250283 +0000
@@ -0,0 +1 @@
+no-th.diff
More information about the Pkg-haskell-commits
mailing list