diff -Nru dpkg-1.16.15/debian/changelog dpkg-1.16.15+rpi1/debian/changelog --- dpkg-1.16.15/debian/changelog 2014-06-05 20:36:49.000000000 +0000 +++ dpkg-1.16.15+rpi1/debian/changelog 2014-07-27 15:26:07.000000000 +0000 @@ -1,3 +1,11 @@ +dpkg (1.16.15+rpi1) wheezy-staging; urgency=medium + + * If a vendor perl module for the current vendor can't be found use the + "Debian" one not the "Default" one. + This should make dpkg-buildflags behave the same on Rasbian as on Debian + + -- Peter Michael Green Sun, 19 Jan 2014 01:55:59 +0000 + dpkg (1.16.15) wheezy-security; urgency=high [ Guillem Jover ] diff -Nru dpkg-1.16.15/scripts/Dpkg/Vendor.pm dpkg-1.16.15+rpi1/scripts/Dpkg/Vendor.pm --- dpkg-1.16.15/scripts/Dpkg/Vendor.pm 2014-06-05 20:01:06.000000000 +0000 +++ dpkg-1.16.15+rpi1/scripts/Dpkg/Vendor.pm 2014-07-27 15:26:07.000000000 +0000 @@ -135,7 +135,7 @@ if ($vendor ne "Default") { push @names, $vendor, lc($vendor), ucfirst($vendor), ucfirst(lc($vendor)); } - foreach my $name (@names, "Default") { + foreach my $name (@names, "Debian") { eval qq{ require Dpkg::Vendor::$name; \$obj = Dpkg::Vendor::$name->new();