NetBSD Problem Report #40354

From carl@rollcage2.bl.echidna.id.au  Sat Jan 10 00:11:32 2009
Return-Path: <carl@rollcage2.bl.echidna.id.au>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0555863B8BA
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Jan 2009 00:11:32 +0000 (UTC)
Message-Id: <200901100011.n0A0BMW3026263@rollcage2.bl.echidna.id.au>
Date: Sat, 10 Jan 2009 11:11:22 +1100 (EST)
From: carl@rollcage2.bl.echidna.id.au
Reply-To: carl@rollcage2.bl.echidna.id.au
To: gnats-bugs@gnats.NetBSD.org
Subject: spamass-milter doesn't compile on OpenSolaris 200811
X-Send-Pr-Version: 3.95

>Number:         40354
>Category:       pkg
>Synopsis:       spamass-milter doesn't compile on OpenSolaris 200811
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 10 00:15:00 +0000 2009
>Last-Modified:  Sun Mar 27 18:44:54 +0000 2011
>Originator:     Carl Brewer
>Release:        NetBSD 3.1
>Organization:

>Environment:
OpenSolaris 200811
>Description:
	spamass-milter tries to use paths.h, which doesn't exist on OpenSolaris
>How-To-Repeat:
	bmake
>Fix:

apply this patch :

--- daemon.c    Wed Oct 22 07:40:32 2003
+++ daemon.c.patched    Sat Jan 10 11:03:08 2009
@@ -39,7 +39,11 @@
 /* $Id: daemon.c,v 1.1 2003/10/21 21:40:32 dnelson Exp $ */

 #include <fcntl.h>
+#ifndef __SunOS_5_11
 #include <paths.h>
+#else
+#define _PATH_DEVNULL "/dev/null"
+#endif
 #include <unistd.h>

 int


>Release-Note:

>Audit-Trail:
[20110327 shattered] edited Environment: field

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 10 Jan 2009 11:23:33 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.