ports/devel/libpciaccess/files/patch-src-common_init.c
Koop Mast 868258b09b Update libpciaccess to 0.13.4.
Regen patch so patch doesn't complain anymore.

Obtained from:	Xorg devel repo
2015-10-20 13:31:02 +00:00

13 lines
383 B
C

--- src/common_init.c.orig 2015-02-03 23:59:14 UTC
+++ src/common_init.c
@@ -72,7 +72,9 @@ pci_system_init( void )
void
pci_system_init_dev_mem(int fd)
{
-#ifdef __OpenBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+ pci_system_freebsd_init_dev_mem(fd);
+#elif defined(__OpenBSD__)
pci_system_openbsd_init_dev_mem(fd);
#endif
}