ports/sysutils/flashrom/patches/patch-hwaccess_h

17 lines
303 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
use patched pciutils.
Index: hwaccess.h
--- hwaccess.h.orig
+++ hwaccess.h
@@ -30,7 +30,9 @@
*/
#define index shadow_workaround_index
-#if !defined (__NetBSD__)
+#ifdef __OpenBSD__
+#include "pciutils/lib/pci.h"
+#elif !defined (__NetBSD__)
#include <pci/pci.h>
#else
#include <pciutils/pci.h>