Subject: Re: linux includes
To: Joe Reed <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 08/10/2003 20:52:56
On Sun, Aug 10, 2003 at 12:39:20PM -0400, Joe Reed wrote:
> hi,
> i'm trying to package k3b, a kde/qt based cd burning frontend.  however, a few 
> files include the following files:
> 	linux/version.h
> 	linux/../scsi/scsi.h
> 	linux/cdrom.h
> 	linux/major.h
> 	linux/limits.h
> do any of our emul packages have versions of these files to include?

Even if they did it would be a bad idea to use them, because their definition
may be invalid for NetBSD.

>  is there 
> some other solution to this issue other than looking for the necessary 
> functions in NetBSD files and patching?
> or, is the preferred method really to just patch the individual files?

Yes, patch the individual files. The software was written for linux, it needs
to be ported.

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 24 ans d'experience feront toujours la difference