Edit

IABSD.fr/ports/sysutils/flashrom/patches/patch-hwaccess_h

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2019-07-05 16:01:57
    Hash : 8bea60f8
    Message : update to flashrom-1.1

  • sysutils/flashrom/patches/patch-hwaccess_h
  • $OpenBSD: patch-hwaccess_h,v 1.2 2019/07/05 16:01:57 sthen Exp $
    
    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>