Subject: [alpine-aports] [PATCH 1/5] main/zeromq: rebuild against libsodium

From: Stuart Cardall <[email-masked]>
Date: Mon, 9 Nov 2015 00:35:12 +0000

the return value for sodium_init is "todo" so $CXXFLAGS changes.
---
 main/zeromq/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/main/zeromq/APKBUILD b/main/zeromq/APKBUILD
index 5384122..fccb4fc 100644
--- a/main/zeromq/APKBUILD
+++ b/main/zeromq/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=zeromq
 pkgver=4.1.3
-pkgrel=0
+pkgrel=1
 pkgdesc="The ZeroMQ messaging library and tools"
 url="http://www.zeromq.org/"
 arch="all"
@@ -27,6 +27,8 @@ prepare() {
 
 build() {
 	cd "$_builddir"
+	# return code from sodium_init is todo in curve_client.cpp & curve_server.cpp
+	export CXXFLAGS="$CXXFLAGS -Wno-unused-result"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
2.6.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---