From: Rik F. <fa...@di...> - 1999-12-22 12:30:59
|
On Wed 25 Aug 1999 12:19:10 -0700, Steve Kelem <ste...@xi...> wrote: > In dictd-1.4.9, on a Sparc 10 running Sun Solaris 2.6, > I got a few compilation errors with gcc 2.8.1. Here are the patches. > > Also, is there a way to specify that the default location of the dictionary > files is local? > > Is there support for going through a proxy server? > > > *** dictzip.h 1999-08-25 18:43:50+00 1.1 > --- dictzip.h 1999-08-25 18:45:33+00 > *************** > *** 23,29 **** > #define _DICTZIP_H_ > > #include "maa.h" > ! #include "zlib.h" > #include "dictd.h" > > /* End of configurable things */ > --- 23,29 ---- > #define _DICTZIP_H_ > > #include "maa.h" > ! #include "zlib/zlib.h" > #include "dictd.h" If you compile with --local-zlib, this shouldn't be needed. If this is needed for your site, then it is site-specific. > *** decl.h 1999-08-25 18:32:13+00 1.1 > --- decl.h 1999-08-25 18:34:31+00 > *************** > *** 33,39 **** > extern int getrusage( int who, struct rusage * ); > extern void bcopy( const void *, void *, int ); > extern long random( void ); > ! extern int srandom( unsigned ); > extern char *index( const char *, int c ); > > #if defined(__svr4__) > --- 33,39 ---- > extern int getrusage( int who, struct rusage * ); > extern void bcopy( const void *, void *, int ); > extern long random( void ); > ! extern void srandom( unsigned ); > extern char *index( const char *, int c ); > > #if defined(__svr4__) > *** libmaa/decl.h 1999-08-25 18:35:02+00 1.1 > --- libmaa/decl.h 1999-08-25 18:35:38+00 > *************** > *** 35,41 **** > extern void bcopy( const void *, void *, int ); > extern void bzero( char *b, int ); > extern long random( void ); > ! extern int srandom( unsigned ); > extern char *index( const char *, int c ); > extern int gethostname( char *, int ); > > --- 35,41 ---- > extern void bcopy( const void *, void *, int ); > extern void bzero( char *b, int ); > extern long random( void ); > ! extern void srandom( unsigned ); > extern char *index( const char *, int c ); > extern int gethostname( char *, int ); We can't just change these without breaking SunOS and/or old Solaris compatibility. They need to be inside #ifdefs. I'll try to take a look at this and include the changes in dictd-1.5.0, which will be released later today. |