$NetBSD: patch-ab,v 1.4 2019/01/25 04:54:36 msaitoh Exp $

--- lib/configure.orig	2018-03-21 05:36:30.000000000 +0900
+++ lib/configure	2019-01-25 13:38:50.273095384 +0900
@@ -116,6 +116,7 @@ case $sys in
 		echo_n " nbsd-libpci"
 		echo >>$c '#define PCI_HAVE_PM_NBSD_LIBPCI'
 		echo >>$c '#define PCI_PATH_NBSD_DEVICE "/dev/pci0"'
+		echo >>$c '#define PCI_HAVE_64BIT_ADDRESS'
 		echo >>$m 'LIBNAME=libpciutils'
 		echo >>$m 'WITH_LIBS+=-lpci'
 		LIBRESOLV=
@@ -266,7 +267,7 @@ else
 		echo >>$m 'SONAME=-Wl,-soname,$(LIBNAME).$(LIBEXT)$(ABI_VERSION)'
 	fi
 fi
-echo >>$m 'PCILIBPC=$(LIBNAME).pc'
+echo >>$m 'PCILIBPC=libpci.pc'
 
 echo >>$c "#define PCILIB_VERSION \"$VERSION\""
 sed '/"/{s/^#define \([^ ]*\) "\(.*\)"$/\1=\2/;p;d;};s/^#define \(.*\)/\1=1/' <$c >>$m
