Thread (10 messages) flat view 10 messages, 5 authors, 2016-06-15

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

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:42:05

On Sun, 11 Sep 2005, Junio C Hamano wrote:
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 [off-list ref] writes:
quoted
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.
quoted
- 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.
I've never noticed autoconf successfully improving portability, and it 
seems to mostly obfuscate errors. E.g., the GNU binutils I was trying to 
build recently, if you don't have "msgfmt", helpfully runs "no" instead. 
Of course, that's autoconf being misused, but if binutils can't use it 
correctly, I doubt any other project can keep from messing up.

Compatibility workarounds with simple detection scripts invoked by people 
who find they actually need workarounds are probably best.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help