From owner-freebsd-ports Thu Sep 27 13:20:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B944037B40D for ; Thu, 27 Sep 2001 13:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8RKK1s05274; Thu, 27 Sep 2001 13:20:01 -0700 (PDT) (envelope-from gnats) Received: from noos.fr (r178m112.cybercable.tm.fr [195.132.178.112]) by hub.freebsd.org (Postfix) with ESMTP id 975B837B40B for ; Thu, 27 Sep 2001 13:13:44 -0700 (PDT) Received: (from mux@localhost) by noos.fr (8.11.6/8.11.4) id f8RKDhm01078; Thu, 27 Sep 2001 22:13:43 +0200 (CEST) (envelope-from mux) Message-Id: <200109272013.f8RKDhm01078@noos.fr> Date: Thu, 27 Sep 2001 22:13:43 +0200 (CEST) From: Maxime Henrion Reply-To: Maxime Henrion To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30878: [PATH] Fixes build of port strace for -CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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