Package: debhelper
Version: 5.0.27
Severity: minor
Tags: d-i, patch

While working on gtk+2.0-directfb, I noticed that the package name did not 
get replaced by the name of the udeb by dh_makeshlibs. Reason turns out 
to be that the "+" in the name is interpreted as a metacharacter which 
makes the regular expression not match.

Changing the line
     $udeb_deps =~ s/$package/$dh{SHLIBS_UDEB}/e;
to
     $udeb_deps =~ s/\Q$package/$dh{SHLIBS_UDEB}/e;
fixes the problem.

(with thanks to Ian Lynagh)

Attachment: pgpEVAZCVVbRd.pgp
Description: PGP signature

Reply via email to