diff -Nru dpkg-1.16.14/debian/changelog dpkg-1.16.14+rpi1/debian/changelog --- dpkg-1.16.14/debian/changelog 2014-04-30 12:55:52.000000000 +0000 +++ dpkg-1.16.14+rpi1/debian/changelog 2014-05-01 22:28:47.000000000 +0000 @@ -1,3 +1,11 @@ +dpkg (1.16.14+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.14) wheezy-security; urgency=high [ Guillem Jover ] diff -Nru dpkg-1.16.14/scripts/Dpkg/Vendor.pm dpkg-1.16.14+rpi1/scripts/Dpkg/Vendor.pm --- dpkg-1.16.14/scripts/Dpkg/Vendor.pm 2014-04-30 12:51:15.000000000 +0000 +++ dpkg-1.16.14+rpi1/scripts/Dpkg/Vendor.pm 2014-05-01 22:27:55.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();