chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / gdb / fix-tmp_prefix.patch
1 diff -uNr gdb-8.0.1/gdb/compile/compile.c gdb-8.0.1.mod/gdb/compile/compile.c
2 --- gdb-8.0.1/gdb/compile/compile.c     2017-09-07 17:28:11.000000000 +0300
3 +++ gdb-8.0.1.mod/gdb/compile/compile.c 2017-09-14 13:21:59.592863458 +0300
4 @@ -44,7 +44,7 @@
5  
6  /* Initial filename for temporary files.  */
7  
8 -#define TMP_PREFIX "/tmp/gdbobj-"
9 +#define TMP_PREFIX "@TERMUX_PREFIX@/tmp/gdbobj-"
10  
11  /* Hold "compile" commands.  */
12