From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8E812138252 for ; Wed, 11 May 2016 17:53:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 636AF21C051; Wed, 11 May 2016 17:53:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBD3E21C051 for ; Wed, 11 May 2016 17:53:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8744D3407B8 for ; Wed, 11 May 2016 17:53:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0C47335 for ; Wed, 11 May 2016 17:53:06 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1462989177.c88cfc982e83bc7eec4bf37babc1ff2dfce2a79d.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/netatalk/, net-fs/netatalk/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch net-fs/netatalk/netatalk-3.1.8.ebuild X-VCS-Directories: net-fs/netatalk/ net-fs/netatalk/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: c88cfc982e83bc7eec4bf37babc1ff2dfce2a79d X-VCS-Branch: master Date: Wed, 11 May 2016 17:53:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 68ec3afe-76e5-41d3-8cde-81bed62595c1 X-Archives-Hash: 54d7a54df434e9afa7d69ad1f314aba1 commit: c88cfc982e83bc7eec4bf37babc1ff2dfce2a79d Author: Mike Frysinger gentoo org> AuthorDate: Wed May 11 17:49:32 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed May 11 17:52:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88cfc98 net-fs/netatalk: fix crashes w/newer binutils #564350 .../netatalk-3.1.8-disable-ld-library-path.patch | 34 ++++++++++++++++++++++ net-fs/netatalk/netatalk-3.1.8.ebuild | 1 + 2 files changed, 35 insertions(+) diff --git a/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch b/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch new file mode 100644 index 0000000..0335366 --- /dev/null +++ b/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch @@ -0,0 +1,34 @@ +there's no need to set LD_LIBRARY_PATH in order to perform link tests, and +it's actually undesirable as it'll cause the toolchain to search a different +path than the ones it's configured to (host lib wise). + +https://bugs.gentoo.org/564350 + +--- a/macros/db3-check.m4 ++++ b/macros/db3-check.m4 +@@ -142,15 +142,7 @@ if test "x$bdb_required" = "xyes"; then + CPPFLAGS="-I${bdbdir}/include${subdir} $CPPFLAGS" + LDFLAGS="-L$bdblibdir $LDFLAGS" + +- dnl -- Uses version set by NETATALK_BDB_HEADER to try to run +- dnl -- a conftest that checks that header/lib version match +- dnl -- $shlibpath_var is set by LIBTOOL, its value is +- dnl -- LD_LIBRARY_PATH on many platforms. This will be fairly +- dnl -- portable hopefully. Reference: +- dnl -- http://lists.gnu.org/archive/html/autoconf/2009-03/msg00040.html +- eval export $shlibpath_var=$bdblibdir + NETATALK_BDB_TRY_LINK +- eval export $shlibpath_var=$saved_shlibpath_var + + if test x"${atalk_cv_bdb_version}" = x"yes"; then + BDB_CFLAGS="-I${bdbdir}/include${subdir}" +@@ -174,9 +166,7 @@ if test "x$bdb_required" = "xyes"; then + CPPFLAGS="-I${bdbdir}/include${subdir} $CPPFLAGS" + LDFLAGS="-L$bdblibdir $LDFLAGS" + +- eval export $shlibpath_var=$bdblibdir + NETATALK_BDB_TRY_LINK +- eval export $shlibpath_var=$saved_shlibpath_var + + if test x"${atalk_cv_bdb_version}" = x"yes"; then + BDB_CFLAGS="-I${bdbdir}/include${subdir}" diff --git a/net-fs/netatalk/netatalk-3.1.8.ebuild b/net-fs/netatalk/netatalk-3.1.8.ebuild index b99120c..41d2c5e 100644 --- a/net-fs/netatalk/netatalk-3.1.8.ebuild +++ b/net-fs/netatalk/netatalk-3.1.8.ebuild @@ -58,6 +58,7 @@ REQUIRED_USE=" PATCHES=( "${FILESDIR}"/${PN}-3.1.7-gentoo.patch + "${FILESDIR}"/${PN}-3.1.8-disable-ld-library-path.patch #564350 ) src_prepare() {