We had the same problem and applied a similar patch. 71a72,74 > %{l_shtool} subst \ > -e '/char \*malloc ();/d' \ > lib/path-concat.c
So far this seems to work across platforms. On Wed, 2004-08-18 at 05:09, Thomas Moschny wrote: > Hi, > > in order to successfully build a2ps version 4.13b-2.1.0 on an rhel3-ia64 > system, I had to add the following patch to the specfile, otherwise compiling > stops with a "conflicting types for 'malloc'" error (using /openpkg/bin/cc). > > Thomas > > --- lib/path-concat.c~ 1999-10-10 20:34:46.000000000 +0200 > +++ lib/path-concat.c 2004-08-17 16:47:10.000000000 +0200 > @@ -31,7 +31,7 @@ > #endif > #include <sys/types.h> > > -char *malloc (); > +/* char *malloc (); */ > > #ifndef DIRECTORY_SEPARATOR > # define DIRECTORY_SEPARATOR '/' -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu "Only those who attempt the absurd can achieve the impossible."
signature.asc
Description: This is a digitally signed message part