[Olsr-dev] Some fixes for NetBSD [was: Re: [Berlin-wireless] IPv6, wer macht mit?]
Pierre Pronchery
(spam-protected)
Wed Apr 2 23:46:08 CEST 2008
Pierre Pronchery wrote:
> [please CC me as I'm not following this list]
[this is still valid]
> Hannes Gredler wrote:
>> as far as i am concerned, yes there is interest.
>> pls send your patch to the olsrd developer mailing list (cc:).
>
> It's not finished but here it is, better now than forgetting it.
I just fixed the wireless interface detection.
The full patch is attached.
HTH
>> Pierre Pronchery wrote:
>>> BTW, if anyone is interested, I have a patch to make olsrd work on
>>> NetBSD. I'll review and post it where adequate some time soon.
>
> The patch includes:
> - cosmetics with the base Makefile;
> - always compile with libnet/SPOOF on NetBSD (probably not cool for
> library dependency/path/etc, but I don't remember what was wrong
> otherwise), btw __NetBSD__ is already defined by the compiler;
> - src/bsd/net.c: size_t should always be available (otherwise #ifndef
> size_t would be maybe more appropriate);
> - src/bsd/net.c: a check for correct interface name is always failing
> and blocks further processing, I disabled it but I can't tell if it has
> undesired side-effects yet;
> - src/bsd/net.c: added code to check if an interface is wireless on
> NetBSD, however it doesn't work yet;
> - two typos.
>
> This is against 0.5.5 and still a bit rough, I hope it helps nonetheless.
--
khorben
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: olsrd-0.5.5_netbsd.patch
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080402/4c4d7427/attachment.ksh>
More information about the Olsr-dev
mailing list