Subject: Re: mail/metamail/patches/patch-as breaks this package on Solaris
To: None <joerg@britannica.bec.de>
From: None <segv@netctl.net>
List: tech-pkg
Date: 02/02/2006 10:49:42
On Thu, 2 Feb 2006 02:47:45 +0100
joerg@britannica.bec.de wrote:

> On Wed, Feb 01, 2006 at 10:37:28PM +0000, segv@netctl.net wrote:
> > In file included from putenv.c:22:
> > /usr/include/stdlib.h:185: error: conflicting types for `srand48'
> > /usr/include/stdlib.h:137: error: previous declaration of `srand48'
> > putenv.c: In function `putenv':
> > putenv.c:44: error: argument `string' doesn't match prototype
> > /usr/include/stdlib.h:138: error: prototype declaration
> > *** Error code 1
> 
> /me hates stupid third party code messing with system internals
> 
> Can you try the attached replacement for patch-as?
> 
> Joerg
> 

I get this with the new patch

In file included from putenv.c:25:
../config.h:127:1: warning: "bcopy" redefined
../config.h:112:1: warning: this is the location of the previous definition
../config.h:128:1: warning: "initstate" redefined
../config.h:119:1: warning: this is the location of the previous definition
../config.h:129:1: warning: "random" redefined
../config.h:120:1: warning: this is the location of the previous definition
putenv.c: In function `putenv':
putenv.c:45: error: argument `string' doesn't match prototype
/usr/include/stdlib.h:138: error: prototype declaration
*** Error code 1