The patch you provided doesn't seem to apply to dpkg-shlibdeps any more. Has the bug been fixed? (#20794) -- Thomas Hood