Accepting request 500411 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/500411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zeromq?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2017-06-02 08:33:47 +00:00 committed by Git OBS Bridge
commit 328feef847
3 changed files with 23 additions and 1 deletions

13
remove_werror.patch Normal file
View File

@ -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"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -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
@ -114,7 +116,8 @@ export LIBS=-ldl
--with-pgm \
%endif
--disable-static \
--disable-dependency-tracking
--disable-dependency-tracking \
--disable-silent-rules
make %{?_smp_mflags}
%install