summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch')
-rw-r--r--poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch b/poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
new file mode 100644
index 000000000..899c6ef2f
--- /dev/null
+++ b/poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
@@ -0,0 +1,14 @@
+Upstream-Status: Pending
+
+Index: apt-1.2.24/apt-pkg/contrib/weakptr.h
+===================================================================
+--- apt-1.2.24.orig/apt-pkg/contrib/weakptr.h
++++ apt-1.2.24/apt-pkg/contrib/weakptr.h
+@@ -21,6 +21,7 @@
+ #ifndef WEAK_POINTER_H
+ #define WEAK_POINTER_H
+
++#include <cstdlib>
+ #include <set>
+ #include <stddef.h>
+
OpenPOWER on IntegriCloud