Re: gnome-vfs 2.3.7 test builds on non-Linux, non-Solaris platforms



On Tue, 2003-08-12 at 20:44, Malcolm Tredinnick wrote:
> Can people running systems other than Linux and Solaris please try to
> build the gnome-vfs 2.3.7 release when they get a moment.
> 
> The reason here is bug #119706, which is causing build problems on
> Solaris 9, at least. I have proposed a fix in that bug, but I would like
> to here the voices of people on *BSD and any other systems lying around
> to see if what I am proposing is truly portable (even if you can't build
> the module, at least poke about inside <netinet/in.h> after reading the
> bug report and you might be able to add something substantive).
> 
> A build breakage at this late stage is obviously really bad, so I want
> to fix this as soon as possible (i.e. in about ten hours when I get home
> from work). But even after that, it would be good to have some
> confidence that any fix that goes in is portable.

I ran into this problem porting to FreeBSD, but fixed it with the
attached patch.  s6_addr32 is only defined in the _KERNEL case.  The
only convenience macro defined for the userland is s6_addr8.

Joe

> 
> Thanks,
> Malcolm
> 
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
--- modules/http-method.c.orig	Mon Aug 11 12:17:18 2003
+++ modules/http-method.c	Mon Aug 11 12:19:48 2003
@@ -198,8 +198,12 @@
 #ifdef ENABLE_IPV6
 	struct in6_addr addr6;
 	struct in6_addr mask6;
+#ifdef __FreeBSD__
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif
 #endif
 } ProxyHostAddr;
+
 
 typedef struct {
 	GnomeVFSSocketBuffer *socket_buffer;

Attachment: signature.asc
Description: This is a digitally signed message part



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