From 158b35a711165b70a2b718b01cbc261ba50a5cf1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Apr 2012 17:48:39 -0400 Subject: add libre/{debhelper,dpkg} for the purpose of using debhelper to compile iceweasel --- libre/dpkg/dpkg-arch.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libre/dpkg/dpkg-arch.patch (limited to 'libre/dpkg/dpkg-arch.patch') diff --git a/libre/dpkg/dpkg-arch.patch b/libre/dpkg/dpkg-arch.patch new file mode 100644 index 000000000..66e7a2ef2 --- /dev/null +++ b/libre/dpkg/dpkg-arch.patch @@ -0,0 +1,17 @@ +diff -ru dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm dpkg-1.16.2/scripts/Dpkg/Arch.pm +--- dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm 2012-03-19 02:40:08.000000000 -0400 ++++ dpkg-1.16.2/scripts/Dpkg/Arch.pm 2012-04-02 16:14:55.000000000 -0400 +@@ -49,12 +49,7 @@ + { + return $build_arch if defined $build_arch; + +- # Note: We *always* require an installed dpkg when inferring the +- # build architecture. The bootstrapping case is handled by +- # dpkg-architecture itself, by avoiding computing the DEB_BUILD_ +- # variables when they are not requested. +- +- my $build_arch = `dpkg --print-architecture`; ++ my $build_arch = `uname -m`; + syserr("dpkg --print-architecture failed") if $? >> 8; + + chomp $build_arch; -- cgit v1.2.3