Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ad,v 1.1 2009/07/20 05:58:44 hasso Exp $
--- lib/fbsd-device.c.orig 2009-07-20 08:16:03 +0300
+++ lib/fbsd-device.c 2009-07-20 08:17:55 +0300
@@ -77,7 +77,7 @@ fbsd_read(struct pci_dev *d, int pos, by
if (pos >= 256)
return 0;
-#if __FreeBSD_version >= 700053
+#if __FreeBSD_version >= 700053 || __DragonFly_version >= 200203
pi.pi_sel.pc_domain = d->domain;
#endif
pi.pi_sel.pc_bus = d->bus;
@@ -120,7 +120,7 @@ fbsd_write(struct pci_dev *d, int pos, b
if (pos >= 256)
return 0;
-#if __FreeBSD_version >= 700053
+#if __FreeBSD_version >= 700053 || __DragonFly_version >= 200203
pi.pi_sel.pc_domain = d->domain;
#endif
pi.pi_sel.pc_bus = d->bus;