diff options
Diffstat (limited to 'p/haskell-llvm-base/debian/patches')
| -rw-r--r-- | p/haskell-llvm-base/debian/patches/no-th-in-setup | 42 | ||||
| -rw-r--r-- | p/haskell-llvm-base/debian/patches/series | 1 |
2 files changed, 0 insertions, 43 deletions
diff --git a/p/haskell-llvm-base/debian/patches/no-th-in-setup b/p/haskell-llvm-base/debian/patches/no-th-in-setup deleted file mode 100644 index f939dec21..000000000 --- a/p/haskell-llvm-base/debian/patches/no-th-in-setup +++ /dev/null @@ -1,42 +0,0 @@ -This replaces some conditional template haskell by static code. Replace by the -other variant we we start shipping Cabal-1.17 - - -Index: haskell-llvm-base-3.2.0.2/Setup.hs -=================================================================== ---- haskell-llvm-base-3.2.0.2.orig/Setup.hs 2013-05-28 02:38:14.000000000 +0200 -+++ haskell-llvm-base-3.2.0.2/Setup.hs 2014-03-29 17:19:03.463550263 +0100 -@@ -1,7 +1,5 @@ - {-# LANGUAGE CPP #-} - {-# LANGUAGE PatternGuards #-} --{-# LANGUAGE TemplateHaskell #-} --{-# LANGUAGE QuasiQuotes #-} - import System.Directory - import System.Environment - import System.FilePath -@@ -19,7 +17,6 @@ - import Distribution.Simple.Register - import Distribution.Simple.Utils - import Distribution.Text ( display ) --import Language.Haskell.TH - - main = do - let hooks = autoconfUserHooks { postConf = if os == "mingw32" -@@ -103,7 +100,8 @@ - -} - - --- horrible hack to support cabal versions both above and below 1.17 --extractCLBI x= -+extractCLBI x = let LocalBuildInfo { libraryConfig = Just clbi } = x in clbi -+{- - $(if cabalVersion >= Version [1,17,0] [] - then appE (appE ( varE $ mkName "getComponentLocalBuildInfo") ( varE 'x) ) (conE ( mkName "CLibName")) - -@@ -114,6 +112,7 @@ - (conP (mkName "Just") [varP $ mkName "clbi"] ) ] ) - (normalB $ varE 'x) [] ] - (varE $ mkName "clbi") ) -+-} - - register' :: PackageDescription -> LocalBuildInfo - -> RegisterFlags -- ^Install in the user's database?; verbose diff --git a/p/haskell-llvm-base/debian/patches/series b/p/haskell-llvm-base/debian/patches/series deleted file mode 100644 index 6db88e6c5..000000000 --- a/p/haskell-llvm-base/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -no-th-in-setup |
