pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40354: spamass-milter doesn't compile on OpenSolaris 200811



>Number:         40354
>Category:       pkg
>Synopsis:       spamass-milter doesn't compile on OpenSolaris 200811
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 10 00:15:00 +0000 2009
>Originator:     Carl Brewer
>Release:        NetBSD 3.1
>Organization:
        
>Environment:
        
        
System: NetBSD rollcage2.bl.echidna.id.au 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 
31 04:27:07 UTC 2006 
builds%b0.netbsd.org@localhost:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>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


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index