summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch')
-rw-r--r--meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch b/meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch
new file mode 100644
index 0000000000..baa12bdaaa
--- /dev/null
+++ b/meta/recipes-devtools/mklibs/files/include-unistd.h-for-gcc47.patch
@@ -0,0 +1,43 @@
1include <unistd.h> to fix build on gcc 4.7
2
3Many of the standard C++ library include files have been edited to no
4longer include <unistd.h> to remove namespace pollution in gcc 4.7, so
5we need include <unistd.h> manually sometimes.
6
7mklibs (0.1.33+nmu1) UNRELEASED; urgency=low
8 * Non-maintainer upload
9 * Fix FTBFS with gcc 4.7 due to missing <unistd.h> include (Closes: #667282).
10
11-- Cyril Brulebois <kibi@debian.org> Thu, 05 Apr 2012 00:15:27 +0000
12
13mklibs (0.1.33) unstable; urgency=low
14
15 * Adjust the libc_pic directory for multiarch as well.
16
17Upstream-Status: Backport
18
19Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
20
21[Added upstream information about patch]
22
23Signed-off-by: Saul Wold <sgw@linux.intel.com>
24
25---
26 src/mklibs-readelf/elf.cpp | 1 +
27 1 file changed, 1 insertion(+)
28
29diff --git a/src/mklibs-readelf/elf.cpp b/src/mklibs-readelf/elf.cpp
30index 444f330..654c46f 100644
31--- a/src/mklibs-readelf/elf.cpp
32+++ b/src/mklibs-readelf/elf.cpp
33@@ -25,6 +25,7 @@
34 #include <fcntl.h>
35 #include <sys/mman.h>
36 #include <sys/stat.h>
37+#include <unistd.h>
38
39 using namespace Elf;
40
41--
421.7.10
43