Package: libxml2-dbg
Version: 2.9.2+really2.9.1+dfsg1-0.1
Severity: serious
Tags: patch sid stretch

libxml2-dbg: hard coded dependency on libicu52-dbg, not built anymore by icu.
diff -Nru libxml2-2.9.2+really2.9.1+dfsg1/debian/changelog 
libxml2-2.9.2+really2.9.1+dfsg1/debian/changelog
--- libxml2-2.9.2+really2.9.1+dfsg1/debian/changelog    2015-08-25 
23:27:05.000000000 +0200
+++ libxml2-2.9.2+really2.9.1+dfsg1/debian/changelog    2015-09-11 
12:55:48.000000000 +0200
@@ -1,3 +1,10 @@
+libxml2 (2.9.2+really2.9.1+dfsg1-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't hardcode the libicuXX-dbg dependency. Closes: #nnnnnn.
+
+ -- Matthias Klose <d...@debian.org>  Fri, 11 Sep 2015 12:54:28 +0200
+
 libxml2 (2.9.2+really2.9.1+dfsg1-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libxml2-2.9.2+really2.9.1+dfsg1/debian/control 
libxml2-2.9.2+really2.9.1+dfsg1/debian/control
--- libxml2-2.9.2+really2.9.1+dfsg1/debian/control      2015-08-25 
23:27:05.000000000 +0200
+++ libxml2-2.9.2+really2.9.1+dfsg1/debian/control      2015-09-11 
12:42:22.000000000 +0200
@@ -86,7 +86,7 @@
 Architecture: any
 Section: debug
 Priority: extra
-Depends: libxml2 (= ${binary:Version}), libicu52-dbg, ${misc:Depends}
+Depends: libxml2 (= ${binary:Version}), ${dep:libicudbg}, ${misc:Depends}
 Multi-Arch: same
 Description: Debugging symbols for the GNOME XML library
  XML is a metalanguage to let you design your own markup language.
diff -Nru libxml2-2.9.2+really2.9.1+dfsg1/debian/rules 
libxml2-2.9.2+really2.9.1+dfsg1/debian/rules
--- libxml2-2.9.2+really2.9.1+dfsg1/debian/rules        2015-08-25 
23:27:05.000000000 +0200
+++ libxml2-2.9.2+really2.9.1+dfsg1/debian/rules        2015-09-11 
12:54:27.000000000 +0200
@@ -139,6 +139,9 @@
 override_dh_makeshlibs:
        dh_makeshlibs -a $(if $(WITH_UDEB),--add-udeb=libxml2-udeb )-V 'libxml2 
(>= 2.7.4)' -- -c4
 
+override_dh_gencontrol:
+       dh_gencontrol -- -Vdep:libicudbg="`dpkg-query -f '$${Depends}' -W 
libicu-dev | sed 's/.*\(libicu[0-9]*\).*/\1/'`-dbg"
+
 %:
 ifeq ($(DEB_BUILD_PROFILE),stage1)
        dh $@ --with autoreconf

Reply via email to