--- /dev/null
+--- libaio-0.3.109/harness/Makefile~ 2009-10-09 20:17:02.000000000 +0200
++++ libaio-0.3.109/harness/Makefile 2013-02-16 23:43:31.268644042 +0100
+@@ -6,7 +6,7 @@
+ HARNESS_SRCS:=main.c
+ # io_queue.c
+
+-CFLAGS=-Wall -Werror -I../src -g -O
++CFLAGS=-Wall -I../src -g -O
+ #-lpthread -lrt
+
+ all: $(PROGS)
Source0: ftp://ftp.kernel.org/pub/linux/libs/aio/%{name}-%{version}.tar.gz
# Source0-md5: 435a5b16ca6198eaf01155263d855756
Patch0: %{name}-DESTDIR.patch
+Patch1: %{name}-Werror.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__make} \