The haskell-cgi patch modifies debian/rules so the generated files are updated during the build. The haskell-utils patch adds a dependency on dctrl-tools, which contains grep-status.
--- haskell-cgi/debian/control~ 2008-03-09 08:03:18.000000000 -0700 +++ haskell-cgi/debian/control 2008-03-09 13:11:56.000000000 -0700 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Ian Lynagh (wibble) <[EMAIL PROTECTED]> Standards-Version: 3.7.3 -Build-Depends: debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.10), ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+), ghc6-doc (>= 6.8.2), ghc6-doc (<< 6.8.2+), libghc6-network-dev (= 2.1.0.0-2), libghc6-parsec-dev (= 2.1.0.0-2), libghc6-mtl-dev (= 1.1.0.0-2), libghc6-xhtml-dev (= 3000.0.2.1-2), libghc6-network-prof (= 2.1.0.0-2), libghc6-parsec-prof (= 2.1.0.0-2), libghc6-mtl-prof (= 1.1.0.0-2), libghc6-xhtml-prof (= 3000.0.2.1-2), libghc6-network-doc (= 2.1.0.0-2), libghc6-parsec-doc (= 2.1.0.0-2), libghc6-mtl-doc (= 1.1.0.0-2), libghc6-xhtml-doc (= 3000.0.2.1-2) +Build-Depends: debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.11), ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+), ghc6-doc (>= 6.8.2), ghc6-doc (<< 6.8.2+), libghc6-network-dev, libghc6-parsec-dev, libghc6-mtl-dev, libghc6-xhtml-dev, libghc6-network-prof, libghc6-parsec-prof, libghc6-mtl-prof, libghc6-xhtml-prof, libghc6-network-doc, libghc6-parsec-doc, libghc6-mtl-doc, libghc6-xhtml-doc Package: libghc6-cgi-dev Section: libdevel --- haskell-cgi/debian/control.in.orig 2008-03-09 08:03:18.000000000 -0700 +++ haskell-cgi/debian/control.in 2008-03-09 13:17:54.000000000 -0700 @@ -3,7 +3,7 @@ Priority: optional Maintainer: ${maintainer} Standards-Version: 3.7.3 -Build-Depends: &{canonicalise-comma-list:debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.10), ${impl:ghc6:lib:build_deps}, ${cabal:deps:ghc6:dev}, ${cabal:deps:ghc6:prof}, ${cabal:deps:ghc6:doc}, ${c_dev_libs}, ${extra_build_deps}} +Build-Depends: &{canonicalise-comma-list:debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.10), ${impl:ghc6:lib:build_deps}, ${cabal:bdeps:ghc6:dev}, ${cabal:bdeps:ghc6:prof}, ${cabal:deps:ghc6:doc}, ${c_dev_libs}, ${extra_build_deps}} Package: ${this:ghc6:dev} Section: libdevel --- haskell-cgi/debian/rules~ 2008-03-09 08:03:18.000000000 -0700 +++ haskell-cgi/debian/rules 2008-03-10 05:05:11.000000000 -0700 @@ -27,7 +27,7 @@ endif build: build-stamp -build-stamp: +build-stamp: update-generated-files dh_testdir update-haskell-control --check
--- haskell-utils/debian/control~ 2007-12-16 10:49:21.000000000 -0800 +++ haskell-utils/debian/control 2008-03-10 09:06:03.000000000 -0700 @@ -7,7 +7,7 @@ Package: haskell-utils Architecture: any -Depends: ${hugs}, ${shlibs:Depends}, ${misc:Depends} +Depends: ${hugs}, ${shlibs:Depends}, ${misc:Depends}, dctrl-tools Suggests: ghc6 | hugs, make Description: Utilities used by the Debian Haskell packages Provides utilities for Debian Haskell packages. Currently this is a