diff --git a/remove_werror.patch b/remove_werror.patch new file mode 100644 index 0000000..5b0e292 --- /dev/null +++ b/remove_werror.patch @@ -0,0 +1,13 @@ +Index: zeromq-4.2.2/configure +=================================================================== +--- zeromq-4.2.2.orig/configure ++++ zeromq-4.2.2/configure +@@ -18994,7 +18994,7 @@ fi + + + # By default compiling with -Werror except OSX. +-libzmq_werror="yes" ++libzmq_werror="no" + + # By default use DSO visibility + libzmq_dso_visibility="yes" diff --git a/zeromq.changes b/zeromq.changes index 1958578..7b20c72 100644 --- a/zeromq.changes +++ b/zeromq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 1 11:25:58 UTC 2017 - adam.majer@suse.de + +- remove_werror.patch: don't use -Werror in compiler flags + ------------------------------------------------------------------- Tue Mar 21 14:30:10 UTC 2017 - adam.majer@suse.de diff --git a/zeromq.spec b/zeromq.spec index fafbef7..24be0bd 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -30,6 +30,7 @@ License: LGPL-3.0+ Group: Productivity/Networking/Web/Servers Url: http://www.zeromq.org/ Source: https://github.com/zeromq/libzmq/releases/download/v%{version}/zeromq-%{version}.tar.gz +Patch: remove_werror.patch BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: libunwind-devel @@ -104,6 +105,7 @@ This package holds the development files for ZeroMQ. %prep %setup -q +%patch -p1 %build export LIBS=-ldl