[Pkg-haskell-commits] darcs: haskell-wai-app-file-cgi: Patch it to be compatible with data-default-class

Joachim Breitner mail at joachim-breitner.de
Fri Mar 7 17:43:32 UTC 2014


Fri Mar  7 17:43:28 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Patch it to be compatible with data-default-class 

    M ./changelog +1
    A ./patches/data-default-class
    A ./patches/series

Fri Mar  7 17:43:28 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Patch it to be compatible with data-default-class 
diff -rN -u old-haskell-wai-app-file-cgi/changelog new-haskell-wai-app-file-cgi/changelog
--- old-haskell-wai-app-file-cgi/changelog	2014-03-07 17:43:32.781866401 +0000
+++ new-haskell-wai-app-file-cgi/changelog	2014-03-07 17:43:32.781866401 +0000
@@ -2,6 +2,7 @@
 
   * Adjust watch file to new hackage layout
   * New upstream release
+  * Patch it to be compatible with data-default-class 
 
  -- Joachim Breitner <nomeata at debian.org>  Fri, 07 Mar 2014 13:07:28 +0100
 
diff -rN -u old-haskell-wai-app-file-cgi/patches/data-default-class new-haskell-wai-app-file-cgi/patches/data-default-class
--- old-haskell-wai-app-file-cgi/patches/data-default-class	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-wai-app-file-cgi/patches/data-default-class	2014-03-07 17:43:32.785866399 +0000
@@ -0,0 +1,33 @@
+Index: haskell-wai-app-file-cgi-2.0.1/wai-app-file-cgi.cabal
+===================================================================
+--- haskell-wai-app-file-cgi-2.0.1.orig/wai-app-file-cgi.cabal	2013-12-04 06:54:20.000000000 +0100
++++ haskell-wai-app-file-cgi-2.0.1/wai-app-file-cgi.cabal	2014-03-07 18:41:10.003813148 +0100
+@@ -43,7 +43,7 @@
+                       , case-insensitive
+                       , conduit >= 0.5
+                       , containers
+-                      , data-default
++                      , data-default-class
+                       , directory
+                       , filepath
+                       , http-client
+Index: haskell-wai-app-file-cgi-2.0.1/Network/Wai/Application/Classic/RevProxy.hs
+===================================================================
+--- haskell-wai-app-file-cgi-2.0.1.orig/Network/Wai/Application/Classic/RevProxy.hs	2013-12-04 06:54:20.000000000 +0100
++++ haskell-wai-app-file-cgi-2.0.1/Network/Wai/Application/Classic/RevProxy.hs	2014-03-07 18:42:09.503810953 +0100
+@@ -10,7 +10,7 @@
+ import qualified Data.ByteString as BS (uncons)
+ import qualified Data.ByteString.Char8 as BS hiding (uncons)
+ import Data.Conduit
+-import Data.Default
++import Data.Default.Class
+ import qualified Network.HTTP.Client as H
+ import qualified Network.HTTP.Client.Conduit as H
+ import Network.HTTP.Types
+@@ -112,4 +112,4 @@
+     hdr = addServer cspec textPlainHeader
+     bdy = byteStringToBuilder "Bad Gateway\r\n"
+     st = badGateway502
+--}
+\ No newline at end of file
++-}
diff -rN -u old-haskell-wai-app-file-cgi/patches/series new-haskell-wai-app-file-cgi/patches/series
--- old-haskell-wai-app-file-cgi/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-wai-app-file-cgi/patches/series	2014-03-07 17:43:32.785866399 +0000
@@ -0,0 +1 @@
+data-default-class




More information about the Pkg-haskell-commits mailing list