summaryrefslogtreecommitdiff
path: root/p/cabal-debian
diff options
context:
space:
mode:
authorKei Hibino <ex8k.hibino@gmail.com>2017-07-03 18:04:10 +0900
committerKei Hibino <ex8k.hibino@gmail.com>2017-07-03 18:04:10 +0900
commitb0d49e1323116907ee2c7003f7f6a31288fb12d8 (patch)
tree292ba101321984d4218c8979ae8e06205120b59d /p/cabal-debian
parent996077a4fc514de6991a636ddc22fc83b5136825 (diff)
downloadDHG_packages-b0d49e1323116907ee2c7003f7f6a31288fb12d8.tar.gz
cabal-debian: fix to generate shlibs:Depends for -utils packages.
Diffstat (limited to 'p/cabal-debian')
-rw-r--r--p/cabal-debian/debian/patches/fix-utils-shlibs-depends13
-rw-r--r--p/cabal-debian/debian/patches/series1
2 files changed, 14 insertions, 0 deletions
diff --git a/p/cabal-debian/debian/patches/fix-utils-shlibs-depends b/p/cabal-debian/debian/patches/fix-utils-shlibs-depends
new file mode 100644
index 000000000..49e30866f
--- /dev/null
+++ b/p/cabal-debian/debian/patches/fix-utils-shlibs-depends
@@ -0,0 +1,13 @@
+Index: cabal-debian-4.35.6/src/Debian/Debianize/Finalize.hs
+===================================================================
+--- cabal-debian-4.35.6.orig/src/Debian/Debianize/Finalize.hs
++++ cabal-debian-4.35.6/src/Debian/Debianize/Finalize.hs
+@@ -411,6 +411,8 @@ binaryPackageRelations b typ = zoom A.de
+ when (typ == B.Development) $ do
+ B.depends %= (edds ++)
+ B.depends %= (anyrel "${shlibs:Depends}" : )
++ when (typ == B.Utilities) $
++ B.depends %= (anyrel "${shlibs:Depends}" : )
+ B.depends %= ([anyrel "${haskell:Depends}", anyrel "${misc:Depends}"] ++)
+ B.recommends %= (anyrel "${haskell:Recommends}" : )
+ B.suggests %= (anyrel "${haskell:Suggests}" :)
diff --git a/p/cabal-debian/debian/patches/series b/p/cabal-debian/debian/patches/series
new file mode 100644
index 000000000..167d2bbff
--- /dev/null
+++ b/p/cabal-debian/debian/patches/series
@@ -0,0 +1 @@
+fix-utils-shlibs-depends