[packages/czmq] - disable -Werror to fix building with latest glibc
baggins
baggins at pld-linux.org
Mon Jan 26 20:13:15 CET 2015
commit e50dc128f488330167da5a7d16c7766639840c38
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jan 26 20:12:35 2015 +0100
- disable -Werror to fix building with latest glibc
czmq.spec | 2 ++
no-Werror.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/czmq.spec b/czmq.spec
index 8ca6696..d7ebd41 100644
--- a/czmq.spec
+++ b/czmq.spec
@@ -7,6 +7,7 @@ License: LGPL v3+
Group: Libraries
Source0: http://download.zeromq.org/%{name}-%{version}.tar.gz
# Source0-md5: b9c060727275a98e866d4db26345c2d8
+Patch0: no-Werror.patch
URL: http://zeromq.org/
BuildRequires: asciidoc
BuildRequires: libsodium-devel
@@ -49,6 +50,7 @@ Statyczna biblioteka CZMQ.
%prep
%setup -q
+%patch0 -p1
%build
# use include subdir - file names could be too common (zfile.h etc.)
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644
index 0000000..38344c3
--- /dev/null
+++ b/no-Werror.patch
@@ -0,0 +1,11 @@
+--- czmq-2.2.0/configure.ac~ 2014-04-23 14:46:58.000000000 +0200
++++ czmq-2.2.0/configure.ac 2015-01-26 20:11:55.802471286 +0100
+@@ -295,7 +295,7 @@
+
+ # These options are GNU compiler specific.
+ if test "x$GCC" = "xyes"; then
+- CPPFLAGS="-pedantic -Werror -Wall ${CPPFLAGS}"
++ CPPFLAGS="-pedantic -Wall ${CPPFLAGS}"
+ fi
+
+ AM_CONDITIONAL(ON_MINGW, test "x$czmq_on_mingw32" = "xyes")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/czmq.git/commitdiff/3017c8443d8a584c5525b6f7e7c9ce6614ed893b
More information about the pld-cvs-commit
mailing list