diff --git a/libpciaccess-lol-dev-port.patch b/libpciaccess-lol-dev-port.patch index 13c82e6..2725900 100644 --- a/libpciaccess-lol-dev-port.patch +++ b/libpciaccess-lol-dev-port.patch @@ -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 + diff --git a/libpciaccess.spec b/libpciaccess.spec index 413fd5c..07b20b3 100644 --- a/libpciaccess.spec +++ b/libpciaccess.spec @@ -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 - 0.12.902-6 +- fix the out[bwl] compatibility macros + * Thu Feb 16 2012 Peter Robinson - 0.12.902-5 - Add ARM arch to libpciaccess-lol-dev-port patch