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 @@ Upstream-Status: Pending ---- a/apt-pkg/contrib/weakptr.h -+++ b/apt-pkg/contrib/weakptr.h +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> - /** - * Class for objects providing support for weak pointers. + #include <stddef.h> + |