Git development
 help / color / mirror / Atom feed
* [PATCH 1/6] Disable IPv6 support for Haiku
@ 2008-08-17  8:56 Andreas Färber
  2008-08-17 20:33 ` Alex Riesen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Färber @ 2008-08-17  8:56 UTC (permalink / raw)
  To: git, gitster

Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Acked-by: Ingo Weinhold <ingo_weinhold@gmx.de>
Acked-by: Scott McCreary <scottmc2@gmail.com>
---
  Makefile |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 53ab4b5..b22dbcf 100644
--- a/Makefile
+++ b/Makefile
@@ -728,6 +728,9 @@ ifeq ($(uname_S),HP-UX)
  	NO_HSTRERROR = YesPlease
  	NO_SYS_SELECT_H = YesPlease
  endif
+ifeq ($(uname_S),Haiku)
+	NO_IPV6 = YesPlease
+endif
  ifneq (,$(findstring MINGW,$(uname_S)))
  	NO_MMAP = YesPlease
  	NO_PREAD = YesPlease
-- 
1.6.0.rc3.32.g8aaa

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/6] Disable IPv6 support for Haiku
  2008-08-17  8:56 [PATCH 1/6] Disable IPv6 support for Haiku Andreas Färber
@ 2008-08-17 20:33 ` Alex Riesen
  2008-08-18 17:23   ` Andreas Färber
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Riesen @ 2008-08-17 20:33 UTC (permalink / raw)
  To: Andreas Färber; +Cc: git, gitster

Andreas Färber, Sun, Aug 17, 2008 10:56:56 +0200:
> +ifeq ($(uname_S),Haiku)
> +	NO_IPV6 = YesPlease
> +endif

Does Haiku have no IPv6 support at all, or it is just the getaddrinfo
and the like functions which are missing?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/6] Disable IPv6 support for Haiku
  2008-08-17 20:33 ` Alex Riesen
@ 2008-08-18 17:23   ` Andreas Färber
  2008-08-18 20:04     ` Alex Riesen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Färber @ 2008-08-18 17:23 UTC (permalink / raw)
  To: Alex Riesen; +Cc: git, gitster


Am 17.08.2008 um 22:33 schrieb Alex Riesen:

> Andreas Färber, Sun, Aug 17, 2008 10:56:56 +0200:
>> +ifeq ($(uname_S),Haiku)
>> +	NO_IPV6 = YesPlease
>> +endif
>
> Does Haiku have no IPv6 support at all, or it is just the getaddrinfo
> and the like functions which are missing?

Haiku does not yet have complete IPv6 support afaik (would've been a  
GSoC project), it does have getaddrinfo though. Not setting NO_IPV6  
currently leads to compilation errors (redefinition of struct  
sockaddr_in), I assume that should be fixed on their side of things.

In the current series of patches I had not included a check for  
libnetwork in configure.ac, so that getaddrinfo does not get detected.  
Would you prefer to have it already detected, but to override it via  
the above Makefile line? (That works as well.) Or to have it detected  
but have the user manually pass NO_IPV6=YesPlease to avoid a future  
revert of that line?

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/6] Disable IPv6 support for Haiku
  2008-08-18 17:23   ` Andreas Färber
@ 2008-08-18 20:04     ` Alex Riesen
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Riesen @ 2008-08-18 20:04 UTC (permalink / raw)
  To: Andreas Färber; +Cc: git, gitster

Andreas Färber, Mon, Aug 18, 2008 19:23:35 +0200:
> Am 17.08.2008 um 22:33 schrieb Alex Riesen:
>> Andreas Färber, Sun, Aug 17, 2008 10:56:56 +0200:
>>> +ifeq ($(uname_S),Haiku)
>>> +	NO_IPV6 = YesPlease
>>> +endif
>>
>> Does Haiku have no IPv6 support at all, or it is just the getaddrinfo
>> and the like functions which are missing?
>
> Haiku does not yet have complete IPv6 support afaik (would've been a  
> GSoC project), it does have getaddrinfo though. Not setting NO_IPV6  
> currently leads to compilation errors (redefinition of struct  
> sockaddr_in), I assume that should be fixed on their side of things.

Ah, that's what it was...

> In the current series of patches I had not included a check for  
> libnetwork in configure.ac, so that getaddrinfo does not get detected.  
> Would you prefer to have it already detected, but to override it via the 
> above Makefile line? (That works as well.) Or to have it detected but 
> have the user manually pass NO_IPV6=YesPlease to avoid a future revert of 
> that line?

I think your patch as-is will be preferred (it just works).
It is not a big deal to change it later.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-18 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-17  8:56 [PATCH 1/6] Disable IPv6 support for Haiku Andreas Färber
2008-08-17 20:33 ` Alex Riesen
2008-08-18 17:23   ` Andreas Färber
2008-08-18 20:04     ` Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox