Re: Patch for building gvfs 0.0.1 on Solaris



On Thu, 2007-11-08 at 17:06 +0000, Damien Carbery wrote:
> Attached is a patch to fix some build issues on Solaris.
> I was using the 0.0.1 tarball, copying in the latest source when I 
> encountered a build issue.
> I admit that I didn't use the latest svn source for all files.
> 
> * test/benchmark-common.c - the sig_t type is not available.
> * daemon/gvfsdaemon.c - #include <errno.h> for errno.
> * daemon/gvfsjobmove.c - #include <strings.h> to declare strcmp.

Commited thanks.

> A number of other files will need strings.h included as the compiler is 
> displaying "implicit function declaration" warnings:
> - gsysutils.c (strlenm strncpy), gvfswritechannel.c (strlen), 
> gvfsmonitor.c (strcmp), gvfsdaemonutils.c (strlen), gvfsjobcopy.c (strcpy).
> 
> string.h will be needed for:
> - gsysutils.c (memset), gvfschannel.c (memcpy), gvfsdaemonutils.c (memcpy).
> 
> I can create a patch tomorrow if needed.

Cool! (Although i'm out until monday.)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]