Re: dfports override for sysutils/pciutils

看板DFBSD_submit作者時間21年前 (2004/07/15 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
Hi. On Wed, Jul 14, 2004 at 04:12:47AM -0400, Tim Wickberg wrote: > Override for sysutils/pciutils > > (all i want is for vmware4 to work, is that too much to ask?? ) > > http://home.wickberg.net/~tim/pciutils.tgz > > tar xzf in your dfports/sysutils directory. It doesn't compile with env CCVER=gcc34. You can't rely on osreldate.h because it's sensitive to __FreeBSD__ symbol, which is undefined when the compiler is gcc34. If we don't have to maintain compatibility with FreeBSD 4.x or 5.x in our dfports override, the patch to fbsd-device.c can be much simpler: --- lib/fbsd-device.c.orig 1999-07-20 23:01:31.000000000 +0900 +++ lib/fbsd-device.c 2004-07-15 11:19:26.000000000 +0900 @@ -15,8 +15,8 @@ #include <string.h> #include <unistd.h> -#include <pci/pcivar.h> -#include <pci/pci_ioctl.h> +#include <bus/pci/pcivar.h> +#include <sys/pciio.h> #include "internal.h"
文章代碼(AID): #10zcG200 (DFBSD_submit)
文章代碼(AID): #10zcG200 (DFBSD_submit)