summaryrefslogtreecommitdiff
path: root/sysutils/libpciaccess/patches/patch-aa
diff options
context:
space:
mode:
authortnn <tnn>2010-04-09 08:09:11 +0000
committertnn <tnn>2010-04-09 08:09:11 +0000
commit2b94a172dadb7eb1f65c24f93600476e8e7079de (patch)
treeb63c8a1f2039533455413d617da5c9a0ac3a430b /sysutils/libpciaccess/patches/patch-aa
parent5c1e044d851661ac6797f5b8fbc360d9951adf67 (diff)
downloadpkgsrc-2b94a172dadb7eb1f65c24f93600476e8e7079de.tar.gz
Update to libpciaccess-0.11.
Synced the netbsd support patch from xsrc HEAD, with a minor tweak: Now we first try to map memory in the newfangled /dev/pciN way. If that fails, then we fall back to /dev/mem. We need to do this to deal with netbsd-5 and earlier. Add NetBSD/sparc64 to the list of supported platforms. Upstream changes: 0.11.0: Add pci_device_get_parent_bridge() I/O port access routines Fix pci_device_open_io() to actually return something useful Fix I/O handle array allocator to work for devices past the first libpciaccess 0.11.0 .gitignore: use common defaults with custom section # 24239 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 Deploy the new XORG_DEFAULT_OPTIONS #24242 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 0.10.9: vgaarb: check pci_sys exists before initing vga arb shutup stupid gcc warning, strtok_r ignores the first parameter Free return value from scandir instead of leaking it. vgaarb: check for fd before close it vgaarb: fix newbie typo
Diffstat (limited to 'sysutils/libpciaccess/patches/patch-aa')
-rw-r--r--sysutils/libpciaccess/patches/patch-aa13
1 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/libpciaccess/patches/patch-aa b/sysutils/libpciaccess/patches/patch-aa
index 315a30e32d7..449cd4d5015 100644
--- a/sysutils/libpciaccess/patches/patch-aa
+++ b/sysutils/libpciaccess/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2009/05/18 19:09:01 hasso Exp $
+$NetBSD: patch-aa,v 1.4 2010/04/09 08:09:11 tnn Exp $
---- configure.ac.orig 2009-04-25 02:19:43 +0300
-+++ configure.ac 2009-05-18 08:34:40 +0300
-@@ -66,10 +66,10 @@ case $host_os in
+--- configure.ac.orig 2009-12-14 21:35:07.000000000 +0000
++++ configure.ac
+@@ -75,10 +75,10 @@ case $host_os in
*netbsd*)
case $host in
*i386*)
@@ -15,7 +15,7 @@ $NetBSD: patch-aa,v 1.3 2009/05/18 19:09:01 hasso Exp $
;;
esac
netbsd=yes
-@@ -91,7 +91,21 @@ AM_CONDITIONAL(SOLARIS, [test "x$solaris
+@@ -100,7 +100,20 @@ AM_CONDITIONAL(SOLARIS, [test "x$solaris
AC_SYS_LARGEFILE
@@ -23,8 +23,7 @@ $NetBSD: patch-aa,v 1.3 2009/05/18 19:09:01 hasso Exp $
+AC_CHECK_LIB([pci], [pcibus_conf_read],
+ [PCIACCESS_LIBS="-lpci $PCIACCESS_LIBS"],
+ [AC_MSG_ERROR(check for libpci failed.)])
-+AC_CHECK_HEADERS([machine/sysarch.h], [],
-+ [AC_MSG_ERROR(sysarch.h not found)])
++AC_CHECK_HEADERS([machine/sysarch.h])
+AC_CHECK_HEADERS([machine/mtrr.h], [have_mtrr_h="yes"], [have_mtrr_h="no"],
+[#ifdef HAVE_MACHINE_SYSARCH_H
+#include <sys/types.h>