Add ARM arch to libpciaccess-lol-dev-port patch
This commit is contained in:
parent
c2d89ecd46
commit
0b270d0e19
@ -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 <dirent.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
+#if defined(__i386__) || defined(__x86_64__)
|
+#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
|
||||||
+#include <sys/io.h>
|
+#include <sys/io.h>
|
||||||
+#else
|
+#else
|
||||||
+#define inb(x) -1
|
+#define inb(x) -1
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libpciaccess
|
Name: libpciaccess
|
||||||
Version: 0.12.902
|
Version: 0.12.902
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: PCI access library
|
Summary: PCI access library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/pciaccess.pc
|
%{_libdir}/pkgconfig/pciaccess.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- libpciaccess-lol-dev-port.patch: Don't use /dev/port since the kernel insists
|
||||||
that it remain unusably broken.
|
that it remain unusably broken.
|
||||||
|
Loading…
Reference in New Issue
Block a user