dfports override for sysutils/pciutils
YONETANI Tomokazu
qhwt+dragonfly-submit at les.ath.cx
Wed Jul 14 19:34:54 PDT 2004
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"
More information about the Submit
mailing list