Re: Patch for building gvfs 0.0.1 on Solaris

Alexander Larsson <[email protected]>
Newsgroups gmane.comp.gnome.vfs.general
Message-ID <[email protected]>
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.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.