summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2010-10-07 14:50:25 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-10-07 14:50:25 +0200
commit3b9c5cc2bdf1584525792aafe4e8f15d09951583 (patch)
tree1059ebf2cd7e9ea262672b711050bd866524005f /apt-pkg
parent3a97e9665d126a582c830376bfded145c0f9b2d1 (diff)
* apt-pkg/deb/deblistparser.cc:
- support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/deblistparser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index da8b0271b..1b3bfd6ae 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -481,6 +481,7 @@ const char *debListParser::ConvertRelation(const char *I,unsigned int &Op)
*/
static string CompleteArch(std::string& arch) {
if (arch == "armel") return "linux-arm";
+ if (arch == "armhf") return "linux-arm";
if (arch == "lpia") return "linux-i386";
if (arch == "powerpcspe") return "linux-powerpc";
if (arch == "uclibc-linux-armel") return "linux-arm";