diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch')
-rw-r--r-- | meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch b/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch index 801ae6dddb..899c6ef2fc 100644 --- a/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch +++ b/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch | |||
@@ -1,12 +1,14 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | --- a/apt-pkg/contrib/weakptr.h | 3 | Index: apt-1.2.24/apt-pkg/contrib/weakptr.h |
4 | +++ b/apt-pkg/contrib/weakptr.h | 4 | =================================================================== |
5 | --- apt-1.2.24.orig/apt-pkg/contrib/weakptr.h | ||
6 | +++ apt-1.2.24/apt-pkg/contrib/weakptr.h | ||
5 | @@ -21,6 +21,7 @@ | 7 | @@ -21,6 +21,7 @@ |
6 | #ifndef WEAK_POINTER_H | 8 | #ifndef WEAK_POINTER_H |
7 | #define WEAK_POINTER_H | 9 | #define WEAK_POINTER_H |
8 | 10 | ||
9 | +#include <cstdlib> | 11 | +#include <cstdlib> |
10 | #include <set> | 12 | #include <set> |
11 | /** | 13 | #include <stddef.h> |
12 | * Class for objects providing support for weak pointers. | 14 | |