summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.9.7.7/fix-gcc-4.6-null-not-defined.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.7.7/fix-gcc-4.6-null-not-defined.patch')
-rw-r--r--meta/recipes-devtools/apt/apt-0.9.7.7/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.7.7/fix-gcc-4.6-null-not-defined.patch b/meta/recipes-devtools/apt/apt-0.9.7.7/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.7.7/fix-gcc-4.6-null-not-defined.patch
@@ -0,0 +1,10 @@
1--- a/apt-pkg/contrib/weakptr.h
2+++ b/apt-pkg/contrib/weakptr.h
3@@ -21,6 +21,7 @@
4 #ifndef WEAK_POINTER_H
5 #define WEAK_POINTER_H
6
7+#include <cstdlib>
8 #include <set>
9 /**
10 * Class for objects providing support for weak pointers.