[beports] Re: [RFC] Git 1.6.0-rc2 branch

On 2008-08-08 at 16:15:16 [+0200], Andreas Färber <andreas.faerber@xxxxxx> 
wrote:
> 
> After a number of 1.5.x Git releases have passed without progress and
> with the 1.6.0 release approaching, I have set up a Git branch we can
> share for getting Haiku support in. It is a new branch based on the
> kernel.org master (1.6.0-rc2), and I have applied only the changes
> that are still necessary:
> 
> * stat::st_blocks (Andreas)

Rather use:

+                               (*loose_size) += (st.st_size + 511) / 512;

If this mean FS blocks, 512 is wrong for BFS in any case. I haven't look at 
the context in which this is used at all. I suppose it's only for 
statistics and not really important.

> * -lnetwork, -lbsd (Andreas)

It's "Haiku" only, not "Haiku OS".

> * ls -1 (Andreas, Niels)

Apparently Haiku's "read" is broken. This should be fixed in Haiku, not in 
an upstream patch.

> * ln -s (Niels)

In one occurrence missing support for hard links is already considered:

-               ln -f "$$bindir/git$X" "$$execdir/git$X" || \
+               $(LN) -f "$$bindir/git$X" "$$execdir/git$X" || \
                cp "$$bindir/git$X" "$$execdir/git$X"; \

I.e. it simply uses "cp" when "ln" fails. I would rather change the other 
two occurrences in the same way.

CU, Ingo
--
HaikuPorts homepage - http://ports.haiku-files.org
List archives: http://www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx

Other related posts: