git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Status of Mac OS/X ports of git and cogito?

From
Junio C Hamano <junkio@cox.net>
Date
Sep 11, 2005, 17:34 UTC
Message-ID
<7vvf17tsoa.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0509111159190.32555@wgmdd8.biozentrum.uni-wuerzburg.de>

Patrick and Jason CC:'ed because they also have portability issues and seem to have good ideas about how they should be solved. Linus CC:'ed because he once expressed rather strongly his dislike about autoconf.

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> I have three fixes in my personal tree without which git refuses to 
> compile:
>
> - daemon.c needs a define or typedef for socklen_t.

I still keep that patch around (the patch was end of July), but have not touched it only because I did not hear from you asking about its inclusion.

> - mailinfo.c needs to have a simple strcasestr implementation, because 
>   10.2.8 (at least in my setup) is lacking it!

Yes, I've used it knowing that it is marked as a GNU extension, hoping if somebody else can supply a patch to work it around ;-).

I am slightly reluctant to do autoconf [*1*], but I might be tempted to take patches if it is done cleanly.

As a workaround until I am convinced otherwise and we go fully autoconf, I am inclined to introduce a new subdirectory in the source tree, compat/, which would house compat/linux.h, compat/darwin.h, compat/solaris.h and friends, and have compat.h symlink which points at one of those files.

[Footnote] *1* ...although I admit that I once used to be an autoconf freak and even had a few lines of my own code in the official autoconf distribution. It was an ancient history, most likely before libtool and automake came along. The last time I checked my changes were all superseded.

Previous: Johannes SchindelinNext: Linus Torvalds
Message 6 of 22 in “Status of Mac OS/X ports of git and cogito?”
  1. John EllsonAug 27, 2005
  2. Junio C HamanoAug 27, 2005
  3. Johannes SchindelinSep 11, 2005
  4. Martin LanghoffSep 11, 2005
  5. Johannes SchindelinSep 11, 2005
  6. Junio C HamanoSep 11, 2005
  7. Linus TorvaldsSep 11, 2005
  8. A Large Angry SCMSep 11, 2005
  9. Junio C HamanoSep 11, 2005
  10. Johannes SchindelinSep 11, 2005
  11. Linus TorvaldsSep 11, 2005
  12. Use int instead of socklen_tJunio C Hamano, Sep 11, 2005
  13. Johannes SchindelinSep 11, 2005
  14. Linus TorvaldsSep 11, 2005
  15. Linus TorvaldsSep 11, 2005
  16. Johannes SchindelinSep 12, 2005
  17. Daniel BarkalowSep 11, 2005
  18. Martin LanghoffSep 11, 2005
  19. Johannes SchindelinSep 11, 2005
  20. Martin LanghoffAug 27, 2005
  21. Martin LanghoffAug 29, 2005
  22. Martin LanghoffAug 30, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.