diff -Nru dpkg-1.17.6/debian/changelog dpkg-1.17.6+rpi1/debian/changelog --- dpkg-1.17.6/debian/changelog 2014-01-15 15:09:44.000000000 +0000 +++ dpkg-1.17.6+rpi1/debian/changelog 2014-01-27 23:54:53.000000000 +0000 @@ -1,3 +1,12 @@ +dpkg (1.17.6+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 + See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735978 + + -- Peter Michael Green Mon, 27 Jan 2014 23:53:15 +0000 + dpkg (1.17.6) unstable; urgency=low [ Guillem Jover ] diff -Nru dpkg-1.17.6/scripts/Dpkg/Vendor.pm dpkg-1.17.6+rpi1/scripts/Dpkg/Vendor.pm --- dpkg-1.17.6/scripts/Dpkg/Vendor.pm 2013-12-14 05:31:03.000000000 +0000 +++ dpkg-1.17.6+rpi1/scripts/Dpkg/Vendor.pm 2014-01-27 23:53:38.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();