From ad28aab1c08be7fb4f02b47c3d3fee1b099cc8858d22ec793ba11cde4a3ec787 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 1 Jun 2017 11:31:24 +0000 Subject: [PATCH 1/2] - remove_werror.patch: don't use -Werror in compiler flags OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zeromq?expand=0&rev=59 --- remove_werror.patch | 13 +++++++++++++ zeromq.changes | 5 +++++ zeromq.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 remove_werror.patch 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 From 93774553bd8e5b43fa4bdd9008fc0dcd888f0e8ef38853b5262aee101884a573 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 1 Jun 2017 13:07:15 +0000 Subject: [PATCH 2/2] - disable silent compilation flags OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zeromq?expand=0&rev=60 --- zeromq.changes | 1 + zeromq.spec | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/zeromq.changes b/zeromq.changes index 7b20c72..b7c59ec 100644 --- a/zeromq.changes +++ b/zeromq.changes @@ -2,6 +2,7 @@ Thu Jun 1 11:25:58 UTC 2017 - adam.majer@suse.de - remove_werror.patch: don't use -Werror in compiler flags +- disable silent compilation flags ------------------------------------------------------------------- Tue Mar 21 14:30:10 UTC 2017 - adam.majer@suse.de diff --git a/zeromq.spec b/zeromq.spec index 24be0bd..af4f20e 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -116,7 +116,8 @@ export LIBS=-ldl --with-pgm \ %endif --disable-static \ - --disable-dependency-tracking + --disable-dependency-tracking \ + --disable-silent-rules make %{?_smp_mflags} %install