commit 9a04ea0492c3ba23d0cbde1f334c03587a18a54f
Author: Jan Rękorajski <[email protected]>
Date:   Fri Dec 25 08:12:02 2015 +0100

    - disable -Werror (build fails due to harmless warnings)
    - rel 3

 no-werror.patch | 11 +++++++++++
 zeromq.spec     |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/zeromq.spec b/zeromq.spec
index 99722e4..7b0015a 100644
--- a/zeromq.spec
+++ b/zeromq.spec
@@ -10,11 +10,12 @@ Summary(en.UTF-8):  ØMQ - Zero Message Queue
 Summary(pl.UTF-8):     ØMQ (Zero Message Queue) - kolejka komunikatów
 Name:          zeromq
 Version:       4.1.2
-Release:       2
+Release:       3
 License:       LGPL v3+ with linking exception
 Group:         Libraries
 Source0:       http://download.zeromq.org/%{name}-%{version}.tar.gz
 # Source0-md5: 159c0c56a895472f02668e692d122685
+Patch0:                no-werror.patch
 URL:           http://www.zeromq.org/
 BuildRequires: asciidoc
 BuildRequires: autoconf >= 2.61
@@ -93,6 +94,7 @@ Statyczna biblioteka ØMQ.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %{__sed} -ne '/SPECIAL EXCEPTION GRANTED/,$p' COPYING.LESSER > 
COPYING.exception
 
diff --git a/no-werror.patch b/no-werror.patch
new file mode 100644
index 0000000..9ace4d3
--- /dev/null
+++ b/no-werror.patch
@@ -0,0 +1,11 @@
+--- zeromq-4.1.2/configure.ac~ 2015-06-11 23:52:26.000000000 +0200
++++ zeromq-4.1.2/configure.ac  2015-12-25 08:11:15.917471120 +0100
+@@ -127,7 +127,7 @@
+ 
+ 
+ # By default compiling with -Werror except OSX.
+-libzmq_werror="yes"
++libzmq_werror="no"
+ 
+ # By default use DSO visibility
+ libzmq_dso_visibility="yes"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zeromq.git/commitdiff/9a04ea0492c3ba23d0cbde1f334c03587a18a54f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to