diff options
author | Guillem Jover <guillem@debian.org> | 2014-10-12 15:16:41 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-12 16:01:02 +0200 |
commit | 8f0122e0c439de1ee4521a9009427aa3704de521 (patch) | |
tree | 25a4e564feb70111bfb2b3faa69e07fecbc475f2 /scripts/dpkg-shlibdeps.pl | |
parent | 8f28a4db519461cf529616dd627a634e3a1fa56c (diff) | |
download | dpkg-8f0122e0c439de1ee4521a9009427aa3704de521.tar.gz |
dpkg-shlibdeps: Handle empty minimum versions when initializing them
If the minimum version is empty (which means it was 0), we cannot use it
to compare against the existing minimum version if that exists, and we
should not be overwritting that, either.
Regression introduced in commit 51c55641fb6c66e149ea93c344cb788c68978c75.
Closes: #764929
Diffstat (limited to 'scripts/dpkg-shlibdeps.pl')
-rwxr-xr-x | scripts/dpkg-shlibdeps.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index 0701ad1c1..9149a098c 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -617,7 +617,7 @@ sub update_dependency_version { if (exists $dependencies{$cur_field}{$subdep} and defined($dependencies{$cur_field}{$subdep})) { - if ($dependencies{$cur_field}{$subdep} eq '' or + if ($dependencies{$cur_field}{$subdep} eq '' or $minver ne '' and version_compare_relation($minver, REL_GT, $dependencies{$cur_field}{$subdep})) { |