summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-16 16:44:15 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-16 16:44:15 +0200
commit65f9983436be310c768c4c42531ceea1e3a6d4ac (patch)
treef48e49fc1a34e0a19f77e5b59c3662df1fcc2be8 /apt-pkg
parent500400fedd6e57eb0162a0e41fdd9ba05a2cae3d (diff)
* cmdline/apt-get.cc:
- use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/srcrecords.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h
index 06f0dce6c..ed69d0d72 100644
--- a/apt-pkg/srcrecords.h
+++ b/apt-pkg/srcrecords.h
@@ -71,6 +71,7 @@ class pkgSrcRecords
virtual std::string Section() const = 0;
virtual const char **Binaries() = 0; // Ownership does not transfer
+ //FIXME: Add a parameter to specify which architecture to use for [wildcard] matching
virtual bool BuildDepends(std::vector<BuildDepRec> &BuildDeps, bool const &ArchOnly, bool const &StripMultiArch = true) = 0;
static const char *BuildDepType(unsigned char const &Type);