summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-09-01 15:56:18 +0000
committerFabian Groffen <grobian@gentoo.org>2013-09-01 15:56:18 +0000
commit89bc07232f5209bf76185c013dbe463921475cf5 (patch)
tree9a279661a645a592f8c15f0065599cab606b4c3f /net-libs/zeromq
parentStable for ppc, wrt bug #450534 (diff)
downloadgentoo-2-89bc07232f5209bf76185c013dbe463921475cf5.tar.gz
gentoo-2-89bc07232f5209bf76185c013dbe463921475cf5.tar.bz2
gentoo-2-89bc07232f5209bf76185c013dbe463921475cf5.zip
Fix for platforms without strndup, such as Darwin pre-Lion
(Portage version: 2.2.01.22288-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'net-libs/zeromq')
-rw-r--r--net-libs/zeromq/ChangeLog6
-rw-r--r--net-libs/zeromq/zeromq-3.2.3.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/net-libs/zeromq/ChangeLog b/net-libs/zeromq/ChangeLog
index b84bc8fc8a9b..b42ab939ee81 100644
--- a/net-libs/zeromq/ChangeLog
+++ b/net-libs/zeromq/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/zeromq
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.38 2013/08/20 19:04:39 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.39 2013/09/01 15:56:18 grobian Exp $
+
+ 01 Sep 2013; Fabian Groffen <grobian@gentoo.org> zeromq-3.2.2.ebuild,
+ zeromq-3.2.3.ebuild:
+ Fix for platforms without strndup, such as Darwin pre-Lion
20 Aug 2013; Fabian Groffen <grobian@gentoo.org> zeromq-3.2.3.ebuild:
Fixed for and marked *-macos
diff --git a/net-libs/zeromq/zeromq-3.2.3.ebuild b/net-libs/zeromq/zeromq-3.2.3.ebuild
index c29b94887f80..ec05acf3502d 100644
--- a/net-libs/zeromq/zeromq-3.2.3.ebuild
+++ b/net-libs/zeromq/zeromq-3.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-3.2.3.ebuild,v 1.3 2013/08/20 19:04:39 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-3.2.3.ebuild,v 1.4 2013/09/01 15:56:18 grobian Exp $
EAPI=5
@@ -27,6 +27,9 @@ src_prepare() {
einfo "Removing bundled OpenPGM library"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
rm -r "${S}"/foreign/openpgm/libpgm* || die
+ # apply effective bit of below commit to fix compilation on Darwin
+ # https://github.com/zeromq/zeromq3-x/commit/400cbc208a768c4df5039f401dd2688eede6e1ca
+ sed -i -e '/strndup/d' tests/test_disconnect_inproc.cpp || die
eautoreconf
}