Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 15:32:25 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44287: Fix build of mail/xmail
Message-ID:  <200210192232.g9JMWP2u077558@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210192232.g9JMWP2u077558>