diff options
author | Alexey Neyman <stilor@att.net> | 2018-11-01 23:36:42 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-11-01 23:36:42 (GMT) |
commit | 167b848777ae42fd23ffb35a1749dae45cfd061b (patch) | |
tree | 37c055ae34dd034fa7de24aefe16bb1e9e8293e1 /packages/elf2flt/git-6d80ab6c | |
parent | 7c4c6892b9a5ea8e989ecb8a120db4d9f3aa46f6 (diff) |
Fix the location for elf2flt patches
... after the git version numbering was adjusted.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/elf2flt/git-6d80ab6c')
-rw-r--r-- | packages/elf2flt/git-6d80ab6c/0000-diagnostics.h.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/elf2flt/git-6d80ab6c/0000-diagnostics.h.patch b/packages/elf2flt/git-6d80ab6c/0000-diagnostics.h.patch new file mode 100644 index 0000000..b74a0ac --- /dev/null +++ b/packages/elf2flt/git-6d80ab6c/0000-diagnostics.h.patch @@ -0,0 +1,30 @@ +commit 2c8ab83ec84662f4916b5237da3e4330956a32eb +Author: Alexey Neyman <stilor@att.net> +Date: Sat Sep 29 13:12:08 2018 -0700 + + Create symlink to <bfd/diagnostics.h> in bfd-headers + + Included by <bfd/bfd.h>. + + Signed-off-by: Alexey Neyman <stilor@att.net> + +diff --git a/Makefile.in b/Makefile.in +index cfad06c..8162cba 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -123,11 +123,14 @@ sinclude .deps + $(CC) -MM $(CPPFLAGS) $(srcdir)/*.c > .deps + + ++# Not all versions of binutils have all these headers, some may end up ++# as dangling symlinks + bfd-headers/.stamp: + rm -rf bfd-headers + mkdir bfd-headers + ln -sf $(BFD_INCLUDE_DIR)/bfd.h bfd-headers/bfd.h +- for f in ansidecl filenames hashtab libiberty symcat; do \ ++ ln -sf $(BFD_INCLUDE_DIR)/diagnostics.h bfd-headers/diagnostics.h ++ for f in ansidecl filenames hashtab libiberty symcat diagnostics; do \ + ln -sf $(BINUTILS_INCLUDE_DIR)/$$f.h bfd-headers/$$f.h || exit 1; \ + done + ln -sf $(BINUTILS_INCLUDE_DIR)/elf bfd-headers/elf |