diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 17:16:29 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-19 02:45:27 +0200 |
| commit | 334f77d5879babebabc07b5cf7ad99127a41880d (patch) | |
| tree | 3ea81497ead7d876f607123f7f9064ee136e227d /meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch | |
| parent | bea2397361da080df1256046b927b454e2e5fc9a (diff) | |
| download | meta-openembedded-334f77d5879babebabc07b5cf7ad99127a41880d.tar.gz | |
llvm2.8: Import from meta-java
* llvm is generic enough to be useful outside meta-java
e.g. we need it to enable llvmpipe galium driver in mesa
* imported without any modification (except indentation), all
credits go to Henning Heinold and Khem Raj for maintaining
it in meta-java
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch')
| -rw-r--r-- | meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch b/meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch new file mode 100644 index 0000000000..1c51b30639 --- /dev/null +++ b/meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | Index: llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp | ||
| 2 | =================================================================== | ||
| 3 | --- llvm-2.8.orig/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-14 18:31:21.008318473 +0200 | ||
| 4 | +++ llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-14 18:32:53.523734850 +0200 | ||
| 5 | @@ -19,6 +19,7 @@ | ||
| 6 | #include "llvm/Support/ErrorHandling.h" | ||
| 7 | #include "llvm/System/DynamicLibrary.h" | ||
| 8 | #include "llvm/Config/config.h" | ||
| 9 | +#include <unistd.h> | ||
| 10 | using namespace llvm; | ||
| 11 | |||
| 12 | // AtExitHandlers - List of functions to call when the program exits, | ||
