summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch')
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch b/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
deleted file mode 100644
index c85c3881aa..0000000000
--- a/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1Upstream-Status: Backport
2
3Add missing includes required when building with modern toolchain, based on
4patch from Debian bugzilla:
5http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505954
6
7Should no longer be required once upgraded to 0.7.22 or later.
8
9Index: apt-0.7.14/apt-pkg/acquire.cc
10===================================================================
11--- apt-0.7.14.orig/apt-pkg/acquire.cc 2008-05-28 14:22:13.000000000 +0100
12+++ apt-0.7.14/apt-pkg/acquire.cc 2010-07-23 17:30:11.494883936 +0100
13@@ -22,6 +22,7 @@
14
15 #include <apti18n.h>
16
17+#include <cstdio>
18 #include <iostream>
19 #include <sstream>
20
21Index: apt-0.7.14/apt-pkg/contrib/sha256.h
22===================================================================
23--- apt-0.7.14.orig/apt-pkg/contrib/sha256.h 2008-05-28 14:22:14.000000000 +0100
24+++ apt-0.7.14/apt-pkg/contrib/sha256.h 2010-07-23 17:30:11.494883936 +0100
25@@ -14,6 +14,7 @@
26 #ifndef APTPKG_SHA256_H
27 #define APTPKG_SHA256_H
28
29+#include <stdint.h>
30 #include <string>
31 #include <cstring>
32 #include <algorithm>
33Index: apt-0.7.14/apt-pkg/deb/dpkgpm.cc
34===================================================================
35--- apt-0.7.14.orig/apt-pkg/deb/dpkgpm.cc 2008-05-28 14:22:14.000000000 +0100
36+++ apt-0.7.14/apt-pkg/deb/dpkgpm.cc 2010-07-23 17:30:36.960856870 +0100
37@@ -20,6 +20,7 @@
38 #include <stdlib.h>
39 #include <fcntl.h>
40 #include <sys/select.h>
41+#include <sys/stat.h>
42 #include <sys/types.h>
43 #include <sys/wait.h>
44 #include <signal.h>