9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan 9 Ports rc under NetBSD
@ 2006-06-26 16:23 Matthias Teege
  2006-06-26 17:44 ` Christoph Lohmann
  2006-06-26 17:45 ` Christoph Lohmann
  0 siblings, 2 replies; 5+ messages in thread
From: Matthias Teege @ 2006-06-26 16:23 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Plan 9 Ports rc under NetBSD
  2006-06-26 16:23 [9fans] Plan 9 Ports rc under NetBSD Matthias Teege
@ 2006-06-26 17:44 ` Christoph Lohmann
  2006-06-26 17:45 ` Christoph Lohmann
  1 sibling, 0 replies; 5+ messages in thread
From: Christoph Lohmann @ 2006-06-26 17:44 UTC (permalink / raw)
  To: 9fans

Good day.

Am Mon, 26 Jun 2006 18:23:47 +0200 schrieb Matthias Teege
<matthias-9fans@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Plan 9 Ports rc under NetBSD
  2006-06-26 16:23 [9fans] Plan 9 Ports rc under NetBSD Matthias Teege
  2006-06-26 17:44 ` Christoph Lohmann
@ 2006-06-26 17:45 ` Christoph Lohmann
  2006-06-26 18:09   ` William Josephson
  1 sibling, 1 reply; 5+ messages in thread
From: Christoph Lohmann @ 2006-06-26 17:45 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Good day.

Am Mon, 26 Jun 2006 18:23:47 +0200 schrieb Matthias Teege
<matthias-9fans@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

[-- Attachment #2: dirread.diff --]
[-- Type: application/octet-stream, Size: 266 bytes --]

21c21
< #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
---
> #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
28c28
< #elif defined(__sun__)
---
> #elif defined(__sun__) || defined(__NetBSD__)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Plan 9 Ports rc under NetBSD
  2006-06-26 17:45 ` Christoph Lohmann
@ 2006-06-26 18:09   ` William Josephson
  2006-06-26 18:23     ` Christoph Lohmann
  0 siblings, 1 reply; 5+ messages in thread
From: William Josephson @ 2006-06-26 18:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] Plan 9 Ports rc under NetBSD
  2006-06-26 18:09   ` William Josephson
@ 2006-06-26 18:23     ` Christoph Lohmann
  0 siblings, 0 replies; 5+ messages in thread
From: Christoph Lohmann @ 2006-06-26 18:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Good evening.

Am Mon, 26 Jun 2006 14:09:58 -0400 schrieb William Josephson
<jkw@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-26 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-26 16:23 [9fans] Plan 9 Ports rc under NetBSD Matthias Teege
2006-06-26 17:44 ` Christoph Lohmann
2006-06-26 17:45 ` Christoph Lohmann
2006-06-26 18:09   ` William Josephson
2006-06-26 18:23     ` Christoph Lohmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).