Date: Thu, 27 Sep 2001 22:13:43 +0200 (CEST) From: Maxime Henrion <mux@qualys.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30878: [PATH] Fixes build of port strace for -CURRENT Message-ID: <200109272013.f8RKDhm01078@noos.fr>
next in thread | raw e-mail | index | archive | help
>Number: 30878 >Category: ports >Synopsis: [PATH] Fixes build of port strace for -CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 27 13:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Maxime Henrion >Release: FreeBSD 5.0-CURRENT i386 >Organization: None >Environment: System: FreeBSD nebula.cybercable.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #111: Thu Sep 27 21:46:23 CEST 2001 mux@nebula.cybercable.fr:/usr/src/sys/i386/compile/NEBULA i386 >Description: The definition of PT_READ_U has been ripped from sys/ptrace.h in -CURRENT. It is used in strace source to print available ptrace commands. The patch encloses the line with #ifdef's. The same patch has been sent to strace-devel mailing list in the hope it will be integrated for next release. >How-To-Repeat: cd /usr/ports/devel/strace && make >Fix: Note: the patch fixes a little typo in the same time (useful for -STABLE boxes). --- strace.patch begins here --- --- 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" }, --- strace.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109272013.f8RKDhm01078>