[packages/libaio] - drop Werror from test suite

arekm arekm at pld-linux.org
Sat Feb 16 23:44:31 CET 2013


commit c77250599c14666980d8528f33b5b4cd3f633973
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 16 23:44:27 2013 +0100

    - drop Werror from test suite

 libaio-Werror.patch | 11 +++++++++++
 libaio.spec         |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/libaio.spec b/libaio.spec
index 1ea32a5..6305725 100644
--- a/libaio.spec
+++ b/libaio.spec
@@ -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} \
diff --git a/libaio-Werror.patch b/libaio-Werror.patch
new file mode 100644
index 0000000..ad12d62
--- /dev/null
+++ b/libaio-Werror.patch
@@ -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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libaio.git/commitdiff/c77250599c14666980d8528f33b5b4cd3f633973



More information about the pld-cvs-commit mailing list