From owner-freebsd-ports Sat Oct 19 15:40: 4 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9226C37B401 for ; Sat, 19 Oct 2002 15:40:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAA9343E65 for ; Sat, 19 Oct 2002 15:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9JMe1x3067569 for ; Sat, 19 Oct 2002 15:40:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9JMe1ju067568; Sat, 19 Oct 2002 15:40:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA8737B401 for ; Sat, 19 Oct 2002 15:32:26 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4377543E4A for ; Sat, 19 Oct 2002 15:32:26 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id g9JMWQ4G077559 for ; Sat, 19 Oct 2002 15:32:26 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g9JMWP2u077558; Sat, 19 Oct 2002 15:32:25 -0700 (PDT) Message-Id: <200210192232.g9JMWP2u077558@troutmask.apl.washington.edu> Date: Sat, 19 Oct 2002 15:32:25 -0700 (PDT) From: "Steven G. Kargl" Reply-To: "Steven G. Kargl" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44287: Fix build of mail/xmail 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: 44287 >Category: ports >Synopsis: Fix build of mail/xmail >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: Sat Oct 19 15:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Steven G. Kargl >Release: FreeBSD 5.0-CURRENT i386 >Organization: apl/uw >Environment: System: FreeBSD troutmask.apl.washington.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Sep 4 12:10:46 PDT 2002 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386 >Description: Building mail/xmail on -current fails due to "exterm int sys_nerr". >How-To-Repeat: cd mail/xmail ; make >Fix: Replace files/patch-ab with the following patch (watch whitespace). --- callbacks.c.orig Sat Oct 19 15:22:13 2002 +++ callbacks.c Sat Oct 19 15:23:52 2002 @@ -44,8 +44,6 @@ extern char noshare *sys_errlist[]; #else extern int errno; -extern int sys_nerr; -extern char *sys_errlist[]; #endif extern char otherBuf[BUFSIZ]; @@ -608,7 +606,7 @@ } if (! (m = GetMailEnv("sendmail"))) - m = XtNewString("/usr/lib/sendmail"); + m = XtNewString("/usr/sbin/sendmail"); #ifdef X_FACE else { add_face = (strcmp(&m[strlen(m)-14], "faces.sendmail") != 0) ? 1 : 0; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message