diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch | |
download | meta-linaro-8d89651ef729e560ad96dcfc002fcde6ff7f923b.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch')
-rw-r--r-- | meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch b/meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch new file mode 100644 index 0000000..bcc8352 --- /dev/null +++ b/meta-linaro/recipes-extra/hiphopvm/files/hrw-check-for-libdwarf-in-our-place-first.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
2 | |||
3 | We have two files named dwarf.h: | ||
4 | - /usr/include/dwarf.h from elfutils | ||
5 | - /usr/include/libdwarf/dwarf.h from libdwarf | ||
6 | |||
7 | HHVM checks for dwarf.h and assumes that libdwarf.h is in same directory which | ||
8 | is wrong for OE and probably also in RedHat based systems (Debian handles it in | ||
9 | other way). | ||
10 | |||
11 | Upstream-Status: pending | ||
12 | |||
13 | --- | ||
14 | CMake/FindLibDwarf.cmake | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | --- git.orig/CMake/FindLibDwarf.cmake | ||
18 | +++ git/CMake/FindLibDwarf.cmake | ||
19 | @@ -18,12 +18,12 @@ endif (LIBDWARF_LIBRARIES AND LIBDWARF_I | ||
20 | |||
21 | find_path (DWARF_INCLUDE_DIR | ||
22 | NAMES | ||
23 | dwarf.h | ||
24 | PATHS | ||
25 | - /usr/include | ||
26 | /usr/include/libdwarf | ||
27 | + /usr/include | ||
28 | /usr/local/include | ||
29 | /opt/local/include | ||
30 | /sw/include | ||
31 | ENV CPATH) # PATH and INCLUDE will also work | ||
32 | |||