diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-06-30 08:33:19 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-06-30 08:33:19 +0100 |
commit | 00c6e1a3eb3d7c8890ca8861c07663f54e0900e0 (patch) | |
tree | 45e7984312d659ba3de578aa242bc8326fde1042 /apt-pkg/policy.h | |
parent | e449f717078978396b76a2fdae844196888d0211 (diff) |
* doc/makefile:
- create doxygen directory to avoid depending on magic (Closes: #628799)
* cmdline/apt-key:
- explicitly state that net-update is not supported if no url is set
- require to be root for add, rm, update and net-update
- clarify update vs. net-update in different distros (Closes: #632043)
* debian/apt.symbols:
- forgot 'mips' in the list for all architecture dependent symbols
- comment out gcc-4.5 specific symbols as gcc-4.6 is now default
- the symbol for PrintStatus() is architecture dependent
* apt-pkg/policy.cc:
- do not segfault in pinning if a package with this name doesn't exist.
Thanks to Ferdinand Thommes for the report!
- Defaults is a vector of Pin not of PkgPin
- ensure that only the first specific stanza for a package is used
- save all stanzas which had no effect in Unmatched
- allow package:architecure in Package:
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r-- | apt-pkg/policy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h index f8b2678de..a5e6c6048 100644 --- a/apt-pkg/policy.h +++ b/apt-pkg/policy.h @@ -55,6 +55,7 @@ class pkgPolicy : public pkgDepCache::Policy struct PkgPin : Pin { string Pkg; + PkgPin(string const &Pkg) : Pin(), Pkg(Pkg) {}; }; Pin *Pins; |