summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-20 05:58:44 +0000
committerhasso <hasso>2009-07-20 05:58:44 +0000
commitf8b74f05fe0ceba46905c5ae79b3269799327248 (patch)
treeb787ff2116ea9b62087351bac011525e94e23b27 /sysutils
parentb3b28595d614dcb1c8c1887c60d4dbf74bf8cf0e (diff)
downloadpkgsrc-f8b74f05fe0ceba46905c5ae79b3269799327248.tar.gz
PCI domains support for recent DragonFly. Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pciutils/Makefile3
-rw-r--r--sysutils/pciutils/distinfo3
-rw-r--r--sysutils/pciutils/patches/patch-ad22
3 files changed, 26 insertions, 2 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index 422fea361ca..bbd61f00bd1 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2009/07/08 06:00:47 hasso Exp $
+# $NetBSD: Makefile,v 1.16 2009/07/20 05:58:44 hasso Exp $
DISTNAME= pciutils-3.1.3
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
ftp://ftp.kernel.org/pub/software/utils/pciutils/
diff --git a/sysutils/pciutils/distinfo b/sysutils/pciutils/distinfo
index 7acf1ad174c..90d5ed4c1b3 100644
--- a/sysutils/pciutils/distinfo
+++ b/sysutils/pciutils/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2009/07/08 06:00:47 hasso Exp $
+$NetBSD: distinfo,v 1.7 2009/07/20 05:58:44 hasso Exp $
SHA1 (pciutils-3.1.3.tar.gz) = 7b7e473fe6778829db5cac9de60b3f10030a6c0d
RMD160 (pciutils-3.1.3.tar.gz) = f0f23de4582a2d66a551588e80c5001256ba5f71
@@ -6,3 +6,4 @@ Size (pciutils-3.1.3.tar.gz) = 296808 bytes
SHA1 (patch-aa) = 16e03deaec5e918bca910f3b53e86920d8b4e9b2
SHA1 (patch-ab) = 1448bb418cdc908eb6652cc98994d23d0d78cea0
SHA1 (patch-ac) = c917e8ad2d1e87fa65a2d8f3256afd40d5a87396
+SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37
diff --git a/sysutils/pciutils/patches/patch-ad b/sysutils/pciutils/patches/patch-ad
new file mode 100644
index 00000000000..ea342164890
--- /dev/null
+++ b/sysutils/pciutils/patches/patch-ad
@@ -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;