chiark / gitweb /
postgresql: Patch away /bin/sh
[termux-packages] / packages / binutils / bfd-hosts-x86-64linux.h.patch
1 diff -u -r ../binutils-2.26/bfd/hosts/x86-64linux.h ./bfd/hosts/x86-64linux.h
2 --- ../binutils-2.26/bfd/hosts/x86-64linux.h    2015-11-13 03:27:40.000000000 -0500
3 +++ ./bfd/hosts/x86-64linux.h   2016-06-16 17:27:10.497607224 -0400
4 @@ -32,6 +32,15 @@
5  /* We define here only the symbols differing from their 64-bit variant.  */
6  #include <sys/procfs.h>
7  
8 +#ifdef __ANDROID__
9 +struct elf_siginfo {
10 +       int si_signo;
11 +       int si_code;
12 +       int si_errno;
13 +};
14 +#define ELF_PRARGSZ (80)
15 +#endif
16 +
17  #ifdef HAVE_STDINT_H
18  #include <stdint.h>
19  #else