浏览代码

g++ 4.7 fixes

Michael Vogt 14 年之前
父节点
当前提交
e75aa33384
共有 3 个文件被更改,包括 6 次插入0 次删除
  1. 2 0
      apt-pkg/contrib/hashsum_template.h
  2. 1 0
      cmdline/apt-mark.cc
  3. 3 0
      debian/changelog

+ 2 - 0
apt-pkg/contrib/hashsum_template.h

@@ -15,6 +15,8 @@
 #include <algorithm>
 #include <algorithm>
 #include <stdint.h>
 #include <stdint.h>
 
 
+#include <apt-pkg/strutl.h>
+
 template<int N>
 template<int N>
 class HashSumValue
 class HashSumValue
 {
 {

+ 1 - 0
cmdline/apt-mark.cc

@@ -16,6 +16,7 @@
 #include <apt-pkg/pkgsystem.h>
 #include <apt-pkg/pkgsystem.h>
 
 
 #include <algorithm>
 #include <algorithm>
+#include <unistd.h>
 
 
 #include <apti18n.h>
 #include <apti18n.h>
 									/*}}}*/
 									/*}}}*/

+ 3 - 0
debian/changelog

@@ -9,6 +9,9 @@ apt (0.8.16~exp8) experimental; urgency=low
     - use a pointer-union to peace gcc strict-aliasing warning
     - use a pointer-union to peace gcc strict-aliasing warning
   * apt-pkg/deb/deblistparser.cc:
   * apt-pkg/deb/deblistparser.cc:
     - M-A: foreign packages provide for other archs, too
     - 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
  -- David Kalnischkies <kalnischkies@gmail.com>  Thu, 03 Nov 2011 09:40:29 -0500