Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 17:44:55 +0100 (CET)
From:      Alexander Langer <alex@cichlids.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16446: fix mail/maildrop (bentofied)
Message-ID:  <200001291644.RAA22884@cichlids.cichlids.com>

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

>Number:         16446
>Category:       ports
>Synopsis:       fix mail/maildrop (bentofied)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 08:50:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Langer
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
This space is intentionally left blank.
>Environment:

bento

>Description:

see bento:

* use getpgrp() without args
* extern "C" sprintf()

>How-To-Repeat:

build

>Fix:

add these patches to the (empty) patch-subdir:

--- funcs.C.old	Sat Jan 29 17:28:18 2000
+++ funcs.C	Sat Jan 29 17:28:45 2000
@@ -114,13 +114,7 @@
 static GETGROUPS_T getprocgroup()
 {
 #if	HAS_GETPGRP
-
-#ifdef	GETPGRP_VOID
-
 	return ( getpgrp() );
-#else
-	return ( getpgrp( getpid()) );
-#endif
 #else
 #if	HAS_GETPGID
 	return ( getpgid( 0 ) );

AAAAAAAAAAAAAAAAAAAAAANNND:


--- main.C.orig	Mon May 10 18:34:07 1999
+++ main.C	Sat Jan 29 17:41:39 2000
@@ -36,6 +36,7 @@
 
 
 extern void setprocgroup();
+extern "C" int sprintf(char *str, const char *format, ...);
 
 static Message m1, m2;
 extern char **environ;

>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?200001291644.RAA22884>