SHA256
1
0
forked from pool/zeromq

- 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
This commit is contained in:
Adam Majer 2017-06-01 11:31:24 +00:00 committed by Git OBS Bridge
parent 59cf002c2c
commit ad28aab1c0
3 changed files with 20 additions and 0 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,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

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