And, in an amazing display of brilliance, I managed to forget to attach the patch to not one, but *two* bugs. Sorry about that. -- Joel Baker fenton@debian.org
diff -ur apt-0.5.4.orig/apt-pkg/algorithms.cc apt-0.5.4/apt-pkg/algorithms.cc
--- apt-0.5.4.orig/apt-pkg/algorithms.cc 2002-09-23 03:03:05.000000000 +0000
+++ apt-0.5.4/apt-pkg/algorithms.cc 2002-09-23 03:03:24.000000000 +0000
@@ -26,6 +26,7 @@
#include <iostream.h>
/*}}}*/
+using namespace std;
pkgProblemResolver *pkgProblemResolver::This = 0;
diff -ur apt-0.5.4.orig/apt-pkg/pkgsystem.h apt-0.5.4/apt-pkg/pkgsystem.h
--- apt-0.5.4.orig/apt-pkg/pkgsystem.h 2002-09-23 03:02:53.000000000 +0000
+++ apt-0.5.4/apt-pkg/pkgsystem.h 2002-09-23 03:03:40.000000000 +0000
@@ -44,6 +44,8 @@
#include <apt-pkg/depcache.h>
#include <vector.h>
+using namespace std;
+
class pkgPackageManager;
class pkgVersioningSystem;
class Configuration;
diff -ur apt-0.5.4.orig/apt-inst/contrib/extracttar.cc apt-0.5.4/apt-inst/contrib/extracttar.cc
--- apt-0.5.4.orig/apt-inst/contrib/extracttar.cc 2002-09-23 03:01:39.000000000 +0000
+++ apt-0.5.4/apt-inst/contrib/extracttar.cc 2002-09-23 03:06:18.000000000 +0000
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <iostream.h>
/*}}}*/
+using namespace std;
// The on disk header for a tar file.
struct ExtractTar::TarHeader
diff -ur apt-0.5.4.orig/apt-inst/extract.cc apt-0.5.4/apt-inst/extract.cc
--- apt-0.5.4.orig/apt-inst/extract.cc 2002-09-23 03:01:39.000000000 +0000
+++ apt-0.5.4/apt-inst/extract.cc 2002-09-23 03:08:25.000000000 +0000
@@ -58,6 +58,7 @@
#include <dirent.h>
#include <iostream.h>
/*}}}*/
+using namespace std;
static const char *TempExt = "dpkg-tmp";
//static const char *NewExt = "dpkg-new";
diff -ur apt-0.5.4.orig/apt-inst/deb/dpkgdb.cc apt-0.5.4/apt-inst/deb/dpkgdb.cc
--- apt-0.5.4.orig/apt-inst/deb/dpkgdb.cc 2002-09-23 03:01:39.000000000 +0000
+++ apt-0.5.4/apt-inst/deb/dpkgdb.cc 2002-09-23 03:10:16.000000000 +0000
@@ -33,6 +33,7 @@
#include <ctype.h>
#include <iostream.h>
/*}}}*/
+using namespace std;
// EraseDir - Erase A Directory /*{{{*/
// ---------------------------------------------------------------------
Attachment:
pgp4DOfZzm2UM.pgp
Description: PGP signature