Browse Source

* make apt build with g++ 4.3

tags/debian/0.7.21
Michael Vogt 14 years ago
parent
commit
4f333a8bea
13 changed files with 17 additions and 2 deletions
  1. +1
    -1
      apt-inst/filelist.h
  2. +3
    -1
      apt-pkg/contrib/error.cc
  3. +2
    -0
      apt-pkg/contrib/fileutl.cc
  4. +1
    -0
      apt-pkg/contrib/md5.cc
  5. +1
    -0
      apt-pkg/contrib/md5.h
  6. +2
    -0
      apt-pkg/contrib/mmap.cc
  7. +1
    -0
      apt-pkg/contrib/progress.cc
  8. +1
    -0
      apt-pkg/contrib/sha1.h
  9. +1
    -0
      apt-pkg/contrib/sha256.h
  10. +1
    -0
      apt-pkg/indexfile.cc
  11. +1
    -0
      apt-pkg/pkgsystem.cc
  12. +1
    -0
      debian/changelog
  13. +1
    -0
      ftparchive/writer.cc

+ 1
- 1
apt-inst/filelist.h View File

@@ -29,7 +29,7 @@
#define PKGLIB_FILELIST_H


#include <cstring>
#include <apt-pkg/mmap.h>

class pkgFLCache


+ 3
- 1
apt-pkg/contrib/error.cc View File

@@ -19,10 +19,12 @@
#include <iostream>
#include <errno.h>
#include <stdio.h>
#include <string>
#include <stdarg.h>
#include <unistd.h>

#include <string>
#include <cstring>

#include "config.h"
/*}}}*/



+ 2
- 0
apt-pkg/contrib/fileutl.cc View File

@@ -22,6 +22,8 @@
#include <apti18n.h>

#include <cstdlib>
#include <cstring>

#include <iostream>
#include <unistd.h>
#include <fcntl.h>


+ 1
- 0
apt-pkg/contrib/md5.cc View File

@@ -44,6 +44,7 @@
#include <inttypes.h>
#include <config.h>
#include <system.h>

/*}}}*/

// byteSwap - Swap bytes in a buffer /*{{{*/


+ 1
- 0
apt-pkg/contrib/md5.h View File

@@ -25,6 +25,7 @@


#include <string>
#include <cstring>
#include <algorithm>
#include <stdint.h>



+ 2
- 0
apt-pkg/contrib/mmap.cc View File

@@ -31,6 +31,8 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>

#include <cstring>
/*}}}*/

// MMap::MMap - Constructor /*{{{*/


+ 1
- 0
apt-pkg/contrib/progress.cc View File

@@ -16,6 +16,7 @@

#include <iostream>
#include <stdio.h>
#include <cstring>
/*}}}*/

using namespace std;


+ 1
- 0
apt-pkg/contrib/sha1.h View File

@@ -15,6 +15,7 @@
#define APTPKG_SHA1_H

#include <string>
#include <cstring>
#include <algorithm>

using std::string;


+ 1
- 0
apt-pkg/contrib/sha256.h View File

@@ -15,6 +15,7 @@
#define APTPKG_SHA256_H

#include <string>
#include <cstring>
#include <algorithm>

using std::string;


+ 1
- 0
apt-pkg/indexfile.cc View File

@@ -13,6 +13,7 @@
#include <apt-pkg/error.h>

#include <clocale>
#include <cstring>
/*}}}*/

// Global list of Item supported


+ 1
- 0
apt-pkg/pkgsystem.cc View File

@@ -13,6 +13,7 @@
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/policy.h>
#include <cassert>
#include <cstring>
/*}}}*/

pkgSystem *_system = 0;


+ 1
- 0
debian/changelog View File

@@ -24,6 +24,7 @@ apt (0.7.7) UNRELEASED; urgency=low
* apt-pkg/acquire.cc:
- increase MaxPipeDepth for the internal worker<->method
communication to 1000 for the debtorrent backend
* make apt build with g++ 4.3

[ Ian Jackson ]
* dpkg-triggers: Deal properly with new package states.


+ 1
- 0
ftparchive/writer.cc View File

@@ -28,6 +28,7 @@
#include <ftw.h>
#include <fnmatch.h>
#include <iostream>
#include <memory>
#include "cachedb.h"
#include "apt-ftparchive.h"


Loading…
Cancel
Save