diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-10-11 18:47:35 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-10-11 18:47:35 +0800 |
commit | e2482f3cc7c79fa6c64120613919bc54387bcc32 (patch) | |
tree | 3e2691c425da5d9527fe87c925eb9455464284ae /devel | |
parent | 24c531d17dc41562d8c534aabd57e9f73e8785a5 (diff) | |
download | freebsd-ports-graphics-e2482f3cc7c79fa6c64120613919bc54387bcc32.tar.gz freebsd-ports-graphics-e2482f3cc7c79fa6c64120613919bc54387bcc32.tar.zst freebsd-ports-graphics-e2482f3cc7c79fa6c64120613919bc54387bcc32.zip |
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')
-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 00000000000..41ffc61b48d --- /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" }, |