-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/libzmq4: Add NORM option, Disable -Werror
- Add NORM option and helpers [1], no default. - Backport upstream pull request #2066. [1][2] - Override default -Werror in build. [2] zeromq/libzmq#2066 PR: 211306 (part 1 of 2) [1] Submitted by: Eric Camachat <eric camachat org> [1] MFH: 2016Q3
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
TIMESTAMP = 1469795631 | ||
SHA256 (zeromq-4.1.4.tar.gz) = e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378 | ||
SIZE (zeromq-4.1.4.tar.gz) = 1400012 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# https://github.com/zeromq/libzmq/pull/2066 | ||
# From 07d00b3aaa2a194c18628ae247dbfd46b9c306ae Mon Sep 17 00:00:00 2001 | ||
# From: Eric Camachat <eric camachat org> | ||
# Date: Wed, 27 Jul 2016 11:09:19 -0700 | ||
# Subject: [PATCH] Fix build with NORM enabled on FreeBSD. | ||
|
||
--- configure.orig 2016-07-29 12:36:40 UTC | ||
+++ configure | ||
@@ -19823,10 +19823,10 @@ $as_echo "#define ZMQ_HAVE_NORM 1" >>con | ||
if test "x$wwith_norm_ext" != "xyes"; then | ||
norm_path="${with_norm_ext}" | ||
LIBZMQ_EXTRA_CXXFLAGS="-I${norm_path}/include ${LIBZMQ_EXTRA_CXXFLAGS}" | ||
- LIBZMQ_EXTRA_LDFLAGS="-I${norm_path}/include ${LIBZMQ_EXTRA_LDFLAGS}" | ||
+ LIBZMQ_EXTRA_LDFLAGS="-I${norm_path}/lib ${LIBZMQ_EXTRA_LDFLAGS}" | ||
fi | ||
|
||
- LIBS="-lnorm $LIBS" | ||
+ LIBS="-L${norm_path}/lib -lnorm $LIBS" | ||
fi | ||
|
||
# Set -Wall, -Werror and -pedantic |