Explorar el Código

build fixes, change version 0.7.21

Michael Vogt hace 17 años
padre
commit
f0bb649306
Se han modificado 3 ficheros con 6 adiciones y 3 borrados
  1. 1 0
      apt-pkg/deb/debsystem.cc
  2. 3 1
      cmdline/apt-get.cc
  3. 2 2
      debian/changelog

+ 1 - 0
apt-pkg/deb/debsystem.cc

@@ -17,6 +17,7 @@
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/fileutl.h>
+#include <apti18n.h>
     
 #include <sys/types.h>
 #include <unistd.h>

+ 3 - 1
cmdline/apt-get.cc

@@ -1301,7 +1301,9 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
    while ((Parse = SrcRecs.Find(Src.c_str(), MatchSrcOnly)) != 0)
    {
       string Ver = Parse->Version();
-      
+
+      // show name mismatches
+      if (IsMatch == true && Parse->Package() != Src)       
 	 ioprintf(c1out,  _("No source package '%s' picking '%s' instead\n"), Parse->Package().c_str(), Src.c_str());
       
       if (VerTag.empty() == false)

+ 2 - 2
debian/changelog

@@ -1,4 +1,4 @@
-apt (0.7.20.3) UNRELEASED; urgency=low
+apt (0.7.21) unstable; urgency=low
 
   [ Christian Perrier ]
   * Translations:
@@ -39,7 +39,7 @@ apt (0.7.20.3) UNRELEASED; urgency=low
     - Call pkgAcquireStatus::Pulse even if quiet, so that we still get
       dlstatus messages on the status-fd (LP: #290234).
 
- -- Michael Vogt <mvo@debian.org>  Wed, 08 Apr 2009 22:37:01 +0200
+ -- Michael Vogt <mvo@debian.org>  Tue, 14 Apr 2009 14:12:51 +0200
 
 apt (0.7.20.2) unstable; urgency=medium