chiark / gitweb /
termux-tools: Add ping and logcat wrappers
[termux-packages] / disabled-packages / proot / src-arch.h.patch
1 From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788113
2
3 diff -u -r ../PRoot-5.1.0/src/arch.h ./src/arch.h
4 --- ../PRoot-5.1.0/src/arch.h   2014-12-15 09:18:11.000000000 -0500
5 +++ ./src/arch.h        2016-01-08 19:53:23.789378336 -0500
6 @@ -125,6 +125,9 @@
7      #define OFFSETOF_STAT_UID_32 0
8      #define OFFSETOF_STAT_GID_32 0
9  
10 +    #define EXEC_PIC_ADDRESS   0x500000000000
11 +    #define INTERP_PIC_ADDRESS 0x6f0000000000
12 +
13  #elif defined(ARCH_X86)
14  
15      #define SYSNUMS_HEADER1 "syscall/sysnums-i386.h"