diff -Nru dpkg-1.17.5/debian/changelog dpkg-1.17.5+rpi1/debian/changelog --- dpkg-1.17.5/debian/changelog 2013-12-12 07:44:43.000000000 +0000 +++ dpkg-1.17.5+rpi1/debian/changelog 2014-01-19 02:28:50.000000000 +0000 @@ -1,3 +1,11 @@ +dpkg (1.17.5+rpi1) jessie-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 02:26:13 +0000 + dpkg (1.17.5) unstable; urgency=low [ Guillem Jover ] diff -Nru dpkg-1.17.5/scripts/Dpkg/Vendor.pm dpkg-1.17.5+rpi1/scripts/Dpkg/Vendor.pm --- dpkg-1.17.5/scripts/Dpkg/Vendor.pm 2013-12-10 06:15:02.000000000 +0000 +++ dpkg-1.17.5+rpi1/scripts/Dpkg/Vendor.pm 2014-01-19 02:24:35.000000000 +0000 @@ -147,7 +147,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();