diff -Nru dpkg-1.16.12/debian/changelog dpkg-1.16.12+rpi1/debian/changelog --- dpkg-1.16.12/debian/changelog 2013-09-30 14:52:48.000000000 +0000 +++ dpkg-1.16.12+rpi1/debian/changelog 2014-01-19 01:58:40.000000000 +0000 @@ -1,3 +1,11 @@ +dpkg (1.16.12+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.12) stable; urgency=low * Fix value caching in Dpkg::Arch by not shadowing the variables. diff -Nru dpkg-1.16.12/scripts/Dpkg/Vendor.pm dpkg-1.16.12+rpi1/scripts/Dpkg/Vendor.pm --- dpkg-1.16.12/scripts/Dpkg/Vendor.pm 2013-09-30 14:47:57.000000000 +0000 +++ dpkg-1.16.12+rpi1/scripts/Dpkg/Vendor.pm 2014-01-19 01:59:18.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();