]> git.pld-linux.org Git - packages/czmq.git/commitdiff
- disable -Werror to fix building with latest glibc
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Jan 2015 19:12:35 +0000 (20:12 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Jan 2015 19:12:35 +0000 (20:12 +0100)
czmq.spec
no-Werror.patch [new file with mode: 0644]

index 8ca66962fe852d7edea99253f42a368fee6ee327..d7ebd41a5451e370af2c6de83d7f18bc4a12c555 100644 (file)
--- 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 (file)
index 0000000..38344c3
--- /dev/null
@@ -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")
This page took 0.103676 seconds and 4 git commands to generate.