diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-11 22:12:07 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-11 22:12:07 -0300 |
commit | 30ad20a283b5b5d781676959751dd2af51b7db9e (patch) | |
tree | babec11e162f588a040e13bbcc5b020ca041f96c /libre/dpkg/dpkg-arch.patch | |
parent | cf52e49c62078b3a1ab2cb1e3629acdca44ba26d (diff) | |
parent | 5f338c195e399f2c2486e06be0851d4f597162d7 (diff) |
Merge ssh://parabolagnulinux.org:1863/abslibre
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; |