[9fans] Plan 9 Ports rc under NetBSD

29 views
Skip to first unread message

Matthias Teege

unread,
Jun 26, 2006, 12:24:23 PM6/26/06
to
Moin,

I've build p9p from CVS under NetBSD current. It compiles but break
during build the documentation because regular expressions in rc doesnt
work. I can run rio, acme, 9term and sam without problems but an 'ls *'
gives 'no such file ...'.

Does anyone run p9p under NetBSD with a working rc?

Many thanks
Matthias

Christoph Lohmann

unread,
Jun 26, 2006, 1:47:19 PM6/26/06
to
Good day.

Am Mon, 26 Jun 2006 18:23:47 +0200 schrieb Matthias Teege
<matthia...@mteege.de>:

> Moin,
>
> I've build p9p from CVS under NetBSD current. It compiles but break
> during build the documentation because regular expressions in rc doesnt
> work. I can run rio, acme, 9term and sam without problems but an 'ls *'
> gives 'no such file ...'.

The problem is a bit different. In NetBSD getdirentries() is obsolete,
so $PLAN9/src/lib9/dirread.c is wrong. Here is a diff to get it to work
with NetBSD. Attached is a diff to dirread.c, that gets it to work again.

Russ, should I send a patch for p9p?

Sincerely,

Christoph

Christoph Lohmann

unread,
Jun 26, 2006, 1:48:05 PM6/26/06
to
Good day.

Am Mon, 26 Jun 2006 18:23:47 +0200 schrieb Matthias Teege
<matthia...@mteege.de>:

> Moin,


>
> I've build p9p from CVS under NetBSD current. It compiles but break
> during build the documentation because regular expressions in rc doesnt
> work. I can run rio, acme, 9term and sam without problems but an 'ls *'
> gives 'no such file ...'.

The problem is a bit different. In NetBSD getdirentries() is obsolete,

dirread.diff

William Josephson

unread,
Jun 26, 2006, 2:14:22 PM6/26/06
to
On Mon, Jun 26, 2006 at 07:45:12PM +0200, Christoph Lohmann wrote:
> The problem is a bit different. In NetBSD getdirentries() is obsolete,
> so $PLAN9/src/lib9/dirread.c is wrong. Here is a diff to get it to work
> with NetBSD. Attached is a diff to dirread.c, that gets it to work again.
>
> Russ, should I send a patch for p9p?

I've applied the patch for now. When did NetBSD start
using the new interface -- do we need to worry about
backwards compatibility?

Christoph Lohmann

unread,
Jun 26, 2006, 2:26:20 PM6/26/06
to
Good evening.

Am Mon, 26 Jun 2006 14:09:58 -0400 schrieb William Josephson
<j...@eecs.harvard.edu>:

> I've applied the patch for now. When did NetBSD start
> using the new interface -- do we need to worry about
> backwards compatibility?

The manpage says getdents() appeared in NetBSD 1.3.

Sincerely,

Christoph

Reply all
Reply to author
Forward
0 new messages