[Pkg-haskell-maintainers] Bug#756327: extra library build-dependencies left uppercase

Max Kirillov max at max630.net
Mon Jul 28 20:12:15 UTC 2014


Package: cabal-debian
Version: 3.9-1
Tags: patch

Hi.

This is a re-submit of the https://bugs.debian.org/658595 ,
which has been closed as "functionality your report is about
was dropped from the package". In fact it was not just
dropped, it was moved here, to cabal-debian.

Currently I am not doing things this would require
and cannot recheck it, but according to the sources the
defect is still there.

Proposed patch (I have not tested it! Only ported from the
original bug according to changes in code) follows:

diff --git a/src/Debian/Debianize/Dependencies.hs b/src/Debian/Debianize/Dependencies.hs
index 9a0defb..5b04db0 100644
--- a/src/Debian/Debianize/Dependencies.hs
+++ b/src/Debian/Debianize/Dependencies.hs
@@ -110,7 +110,7 @@ allBuildDepends atoms buildDepends buildTools pkgconfigDepends extraLibs =
           map ExtraLibs (fixDeps extraLibs)
     where
       fixDeps :: [String] -> [Relations]
-      fixDeps xs = concatMap (\ cab -> maybe [[[D.Rel (D.BinPkgName ("lib" ++ cab ++ "-dev")) Nothing Nothing]]]
+      fixDeps xs = concatMap (\ cab -> maybe [[[D.Rel (D.BinPkgName ("lib" ++ map toLower cab ++ "-dev")) Nothing Nothing]]]
                                              Set.toList
                                              (Map.lookup cab (getL extraLibMap atoms))) xs
 



More information about the Pkg-haskell-maintainers mailing list