]> git.pld-linux.org Git - packages/libaio.git/commitdiff
- drop Werror from test suite
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 16 Feb 2013 22:44:27 +0000 (23:44 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 16 Feb 2013 22:44:27 +0000 (23:44 +0100)
libaio-Werror.patch [new file with mode: 0644]
libaio.spec

diff --git a/libaio-Werror.patch b/libaio-Werror.patch
new file mode 100644 (file)
index 0000000..ad12d62
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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)
index 1ea32a5927e3c2df49c960a09e489fd8cbb6f926..63057251f5d5c099822062e200314e363f734ec2 100644 (file)
@@ -12,6 +12,7 @@ Group:                Libraries
 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
@@ -62,6 +63,7 @@ Statyczna biblioteka libaio.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} \
This page took 0.17046 seconds and 4 git commands to generate.