Mail archive
alpine-aports

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

From: Stuart Cardall <developer_at_it-offshore.co.uk>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=zeromq
 pkgver=4.1.3
-pkgrel=0
+pkgrel=1
 pkgdesc="The ZeroMQ messaging library and tools"
 url="http://www.zeromq.org/"
 arch="all"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Nov 09 2015 - 00:35:12 GMT