summaryrefslogtreecommitdiff
path: root/package/libpciaccess/patches/patch-src_freebsd_pci_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 13:42:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 13:42:50 +0100
commitc0c6f1a00ae612aca71a9c404056ff5656263513 (patch)
tree5168518b55ae34ac274e6d65b67f7a6a56985b0a /package/libpciaccess/patches/patch-src_freebsd_pci_c
parent7433cac2c4ac2a8b5abd2445db4afac0a58dc32d (diff)
update to stable, add git patches
Diffstat (limited to 'package/libpciaccess/patches/patch-src_freebsd_pci_c')
-rw-r--r--package/libpciaccess/patches/patch-src_freebsd_pci_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libpciaccess/patches/patch-src_freebsd_pci_c b/package/libpciaccess/patches/patch-src_freebsd_pci_c
new file mode 100644
index 000000000..3a1c22fd1
--- /dev/null
+++ b/package/libpciaccess/patches/patch-src_freebsd_pci_c
@@ -0,0 +1,18 @@
+--- libpciaccess-0.13.2.orig/src/freebsd_pci.c 2013-07-21 00:54:34.000000000 +0200
++++ libpciaccess-0.13.2/src/freebsd_pci.c 2014-03-24 13:26:10.476152263 +0100
+@@ -579,6 +579,7 @@ pci_device_freebsd_open_legacy_io(struct
+
+ ret->base = base;
+ ret->size = size;
++ ret->is_legacy = 1;
+ return ret;
+ #elif defined(PCI_MAGIC_IO_RANGE)
+ ret->memory = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED,
+@@ -588,6 +589,7 @@ pci_device_freebsd_open_legacy_io(struct
+
+ ret->base = base;
+ ret->size = size;
++ ret->is_legacy = 1;
+ return ret;
+ #else
+ return NULL;