Просмотр исходного кода

* merged from the apt--install-recommends branch

Michael Vogt лет назад: 20
Родитель
Сommit
2ea152b6fb
4 измененных файлов с 530 добавлено и 245 удалено
  1. 1 1
      apt-pkg/depcache.cc
  2. 1 1
      configure.in
  3. 7 0
      debian/changelog
  4. 521 243
      po/apt-all.pot

+ 1 - 1
apt-pkg/depcache.cc

@@ -1343,7 +1343,7 @@ bool pkgDepCache::Policy::IsImportantDep(DepIterator Dep)
       string s = _config->Find("APT::Install-Recommends-Section","");
       if(s.size() > 0) 
       {
-	 const char *sec = Dep.TargetPkg().Section();
+	 const char *sec = Dep.ParentVer().Section();
 	 if (sec && strcmp(sec, s.c_str()) == 0)
 	    return true;
       }

+ 1 - 1
configure.in

@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.6.45ubuntu6")
+AC_DEFINE_UNQUOTED(VERSION,"0.6.45ubuntu7")
 PACKAGE="apt"
 AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
 AC_SUBST(PACKAGE)

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+apt (0.6.45ubuntu7) edgy; urgency=low
+
+  * apt-pkg/depcache.cc:
+    - fix a bug in the install-recommends-section code
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu,  7 Sep 2006 18:22:38 +0200
+
 apt (0.6.45ubuntu6) edgy; urgency=low
 
   [Michael Vogt]

Разница между файлами не показана из-за своего большого размера
+ 521 - 243
po/apt-all.pot