NetBSD-Bugs archive

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

Re: toolchain/38983: sendmail doesn't compile on i386-current



The following reply was made to PR toolchain/38983; it has been noted by GNATS.

From: Hisashi T Fujinaka <htodd%twofifty.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: toolchain/38983: sendmail doesn't compile on i386-current
Date: Sat, 30 Aug 2008 00:07:57 -0700 (PDT)

 The patch works for me on netbsd-4 and on netbsd-current.
 
 On Sat, 16 Aug 2008, Eric Schnoebelen wrote:
 
 > The following reply was made to PR toolchain/38983; it has been noted by 
 > GNATS.
 >
 > From: eric%cirr.com@localhost (Eric Schnoebelen)
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: toolchain/38983: sendmail doesn't compile on i386-current
 > Date: Sat, 16 Aug 2008 11:01:50 -0500
 >
 > After reading the thread on tech-toochain, and needing sendmail
 > to compile, I generated the following patch for sendmail to
 > unconditionally define SM_CONF_STDBOOL_H.
 >
 > Index: Makefile
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
 > retrieving revision 1.104
 > diff -b -u -w -r1.104 Makefile
 > --- Makefile 13 Aug 2008 15:41:29 -0000      1.104
 > +++ Makefile 16 Aug 2008 16:00:23 -0000
 > @@ -1,7 +1,7 @@
 >  # $NetBSD: Makefile,v 1.104 2008/08/13 15:41:29 manu Exp $
 >
 >  PKGNAME=    sendmail-${DIST_VERS}
 > -PKGREVISION=        1
 > +PKGREVISION=        2
 >  COMMENT=    The well known Mail Transport Agent
 >
 >  CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
 > Index: patches/patch-aa
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/mail/sendmail/patches/patch-aa,v
 > retrieving revision 1.18
 > diff -b -u -w -r1.18 patch-aa
 > --- patches/patch-aa 30 Aug 2004 20:16:28 -0000      1.18
 > +++ patches/patch-aa 16 Aug 2008 15:56:25 -0000
 > @@ -1,10 +1,12 @@
 > -$NetBSD: patch-aa,v 1.18 2004/08/30 20:16:28 adrianp Exp $
 > +$NetBSD$
 >
 > ---- devtools/OS/NetBSD.orig Sun Jun 27 00:19:35 2004
 > -+++ devtools/OS/NetBSD      Sun Jun 27 00:24:11 2004
 > -@@ -7,13 +7,14 @@
 > +--- devtools/OS/NetBSD.orig 2004-06-16 12:50:00.000000000 -0500
 > ++++ devtools/OS/NetBSD
 > +@@ -6,14 +6,16 @@ dnl       Place personal settings in devtools/
 > + define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
 >   define(`confLIBS', `-lutil')
 >   define(`confENVDEF', ` -DNETISO')
 > ++define(`confSM_OS_HEADER', `sm_os_netbsd')
 >   define(`confDEPEND_TYPE', `CC-M')
 >  -define(`confSBINGRP', `wheel')
 >  -define(`confUBINOWN', `root')
 > --- /dev/null        2008-08-16 10:57:12.000000000 -0500
 > +++ patches/patch-an 2008-08-16 10:52:44.000000000 -0500
 > @@ -0,0 +1,24 @@
 > +--- /dev/null       2008-08-16 10:50:30.000000000 -0500
 > ++++ include/sm/os/sm_os_netbsd.h    2008-08-16 10:46:30.000000000 -0500
 > +@@ -0,0 +1,21 @@
 > ++/*
 > ++ * Copyright (c) 2000 Sendmail, Inc. and its suppliers.
 > ++ * All rights reserved.
 > ++ *
 > ++ * By using this file, you agree to the terms and conditions set
 > ++ * forth in the LICENSE file which can be found at the top level of
 > ++ * the sendmail distribution.
 > ++ *
 > ++ * $Id$
 > ++ */
 > ++
 > ++/*
 > ++**  sm_os_netbsd.h -- platform definitions for NetBSD
 > ++**
 > ++**  Note: this header file cannot be called NetBSD.h
 > ++**  because <sys/param.h> defines the macro NetBSD.
 > ++*/
 > ++
 > ++#define SM_OS_NAME "netbsd"
 > ++
 > ++#define SM_CONF_STDBOOL_H  1
 >
 >
 
 -- 
 Hisashi T Fujinaka - htodd%twofifty.com@localhost
 BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
 


Home | Main Index | Thread Index | Old Index