Add ARM arch to libpciaccess-lol-dev-port patch

This commit is contained in:
Peter Robinson 2012-02-17 00:53:58 +00:00
parent c2d89ecd46
commit 0b270d0e19
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@ diff -up libpciaccess-0.12.902/src/linux_sysfs.c.jx libpciaccess-0.12.902/src/li
#include <dirent.h>
#include <errno.h>
+#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
+#include <sys/io.h>
+#else
+#define inb(x) -1

View File

@ -3,7 +3,7 @@
Name: libpciaccess
Version: 0.12.902
Release: 4%{?dist}
Release: 5%{?dist}
Summary: PCI access library
Group: System Environment/Libraries
@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/pciaccess.pc
%changelog
* Thu Feb 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.12.902-5
- Add ARM arch to libpciaccess-lol-dev-port patch
* Wed Feb 08 2012 Adam Jackson <ajax@redhat.com> 0.12.902-4
- libpciaccess-lol-dev-port.patch: Don't use /dev/port since the kernel insists
that it remain unusably broken.