diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-04-02 17:48:39 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-04-02 17:48:39 -0400 |
commit | 158b35a711165b70a2b718b01cbc261ba50a5cf1 (patch) | |
tree | 55672c1404147bcfccfbebc79bb31019ef291d73 /libre/dpkg/dpkg-arch.patch | |
parent | a896e039514a8f7a529042b373eb227d7e2c9b29 (diff) |
add libre/{debhelper,dpkg} for the purpose of using debhelper to compile iceweasel
Diffstat (limited to 'libre/dpkg/dpkg-arch.patch')
-rw-r--r-- | libre/dpkg/dpkg-arch.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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; |