diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-10-11 10:47:35 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-10-11 10:47:35 +0000 |
commit | ced6dcdf02b772df8a85546cd9aaecbe41a980ef (patch) | |
tree | d8a624291808a890541748a688041ded2be5099e /devel/strace | |
parent | add missing file into PLIST (diff) |
Fix compilation problem (both -CURRENT and -STABLE), due to PT_READ_U
removal from sys/ptrace.h. Also, fix the incorrect PT_READ_U label.
PR: 30878
Submitted by: Maxime Henrion <mux@qualys.com>
Diffstat (limited to 'devel/strace')
-rw-r--r-- | devel/strace/files/patch-process.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/strace/files/patch-process.c b/devel/strace/files/patch-process.c new file mode 100644 index 000000000000..41ffc61b48df --- /dev/null +++ b/devel/strace/files/patch-process.c @@ -0,0 +1,13 @@ +--- process.c.old Thu Sep 27 22:08:22 2001 ++++ process.c Thu Sep 27 22:08:57 2001 +@@ -1771,7 +1771,9 @@ + { PT_READ_D, "PT_READ_D" }, + { PT_WRITE_I, "PT_WRITE_I" }, + { PT_WRITE_D, "PT_WRITE_D" }, +- { PT_READ_U, "PT_WRITE_U" }, ++#ifdef PT_READ_U ++ { PT_READ_U, "PT_READ_U" }, ++#endif + { PT_CONTINUE, "PT_CONTINUE" }, + { PT_KILL, "PT_KILL" }, + { PT_STEP, "PT_STEP" }, |