fix the out[bwl] compatibility macros

This commit is contained in:
Dan Horák 2012-02-29 18:52:21 +01:00
parent 0b270d0e19
commit 4b6dae95b5
2 changed files with 7 additions and 4 deletions

View File

@ -19,9 +19,9 @@ diff -up libpciaccess-0.12.902/src/linux_sysfs.c.jx libpciaccess-0.12.902/src/li
+#define inb(x) -1
+#define inw(x) -1
+#define inl(x) -1
+#define outb(x) do {} while (0)
+#define outw(x) do {} while (0)
+#define outl(x) do {} while (0)
+#define outb(x,y) do {} while (0)
+#define outw(x,y) do {} while (0)
+#define outl(x,y) do {} while (0)
+#define iopl(x) -1
+#endif
+

View File

@ -3,7 +3,7 @@
Name: libpciaccess
Version: 0.12.902
Release: 5%{?dist}
Release: 6%{?dist}
Summary: PCI access library
Group: System Environment/Libraries
@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/pciaccess.pc
%changelog
* Wed Feb 29 2012 Dan Horák <dan[at]danny.cz> - 0.12.902-6
- fix the out[bwl] compatibility macros
* Thu Feb 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.12.902-5
- Add ARM arch to libpciaccess-lol-dev-port patch