Subject: Re: bug#7643: Build failure for SGI IRIX MIPS
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 10 Oct 2011 13:54:30 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

I am afraid that without more input from you or someone else using IRIX
who can reproduce this, nothing can be done.

At a guess, maybe you need to compile with -DINET6, in which case a
patch like the following might fix it. But I don't see the point in
installing this without any testing.

If you can reply with the contents of netinet/in.h on your system, that
might help, and we can reopen this if needed.

*** src/process.c	2011-09-09 01:06:52 +0000
--- src/process.c	2011-10-07 21:42:30 +0000
***************
*** 39,44 ****
--- 39,51 ----
  
  #include <sys/socket.h>
  #include <netdb.h>
+ 
+ /* Some (which?) IRIX 6.5 hide IPv6 stuff in in.h behind #ifdef INET6.
+    See bug#7643.  */
+ #if defined(AF_INET6) && defined(IRIX6_5)
+ #define INET6
+ #endif
+ 
  #include <netinet/in.h>
  #include <arpa/inet.h>