aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch
diff options
context:
space:
mode:
authorIonut Radu <ionutx.radu@intel.com>2013-05-13 17:55:12 +0300
committerSaul Wold <sgw@linux.intel.com>2013-05-29 08:19:03 +0900
commit76b32bbe16c790ed81fffe37e67d80d1ec754e4e (patch)
tree6b060e359814a345281f021c5cd6748be12ef863 /meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch
parent8b59ec4eb761d88445da94bb90aa2c5db0bbf365 (diff)
downloadopenembedded-core-contrib-76b32bbe16c790ed81fffe37e67d80d1ec754e4e.tar.gz
apt: Updated from 0.9.7.8 to 0.9.8.1
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch')
-rw-r--r--meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch b/meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch
new file mode 100644
index 0000000000..70ecd95096
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.9.8.1/fix-gcc-4.6-null-not-defined.patch
@@ -0,0 +1,10 @@
+--- a/apt-pkg/contrib/weakptr.h
++++ b/apt-pkg/contrib/weakptr.h
+@@ -21,6 +21,7 @@
+ #ifndef WEAK_POINTER_H
+ #define WEAK_POINTER_H
+
++#include <cstdlib>
+ #include <set>
+ /**
+ * Class for objects providing support for weak pointers.