summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-01-02 15:08:58 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-01-02 15:08:58 +0100
commite75aa33384d52635fba502bed628bc68f9cb5066 (patch)
tree2a4c672f6cda0821bf882f923be78849c97d4ee5
parent71ecaad29d8066a494f516efc5efd80860653fe2 (diff)
g++ 4.7 fixes
-rw-r--r--apt-pkg/contrib/hashsum_template.h2
-rw-r--r--cmdline/apt-mark.cc1
-rw-r--r--debian/changelog3
3 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/contrib/hashsum_template.h b/apt-pkg/contrib/hashsum_template.h
index 27d192b82..d2d9f92ed 100644
--- a/apt-pkg/contrib/hashsum_template.h
+++ b/apt-pkg/contrib/hashsum_template.h
@@ -15,6 +15,8 @@
#include <algorithm>
#include <stdint.h>
+#include <apt-pkg/strutl.h>
+
template<int N>
class HashSumValue
{
diff --git a/cmdline/apt-mark.cc b/cmdline/apt-mark.cc
index 339cbdf44..9a628d714 100644
--- a/cmdline/apt-mark.cc
+++ b/cmdline/apt-mark.cc
@@ -16,6 +16,7 @@
#include <apt-pkg/pkgsystem.h>
#include <algorithm>
+#include <unistd.h>
#include <apti18n.h>
/*}}}*/
diff --git a/debian/changelog b/debian/changelog
index df50eefbd..e6389dd06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ apt (0.8.16~exp8) experimental; urgency=low
- use a pointer-union to peace gcc strict-aliasing warning
* apt-pkg/deb/deblistparser.cc:
- M-A: foreign packages provide for other archs, too
+
+ [ Michael Vogt ]
+ * g++ 4.7 fixes
-- David Kalnischkies <kalnischkies@gmail.com> Thu, 03 Nov 2011 09:40:29 -0500