From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01B501382C5 for ; Fri, 2 Mar 2018 09:53:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10854E09AE; Fri, 2 Mar 2018 09:53:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E25C2E09AE for ; Fri, 2 Mar 2018 09:53:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 966F3335C68 for ; Fri, 2 Mar 2018 09:53:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28E9A216 for ; Fri, 2 Mar 2018 09:53:33 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1519984411.b3a7ba62e60163c5d63b376ec23711fd7626ecb0.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ecasound/, media-sound/ecasound/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/ecasound/ecasound-2.9.1-r1.ebuild media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch X-VCS-Directories: media-sound/ecasound/files/ media-sound/ecasound/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b3a7ba62e60163c5d63b376ec23711fd7626ecb0 X-VCS-Branch: master Date: Fri, 2 Mar 2018 09:53:33 +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: 87ecf382-3422-4635-925c-922d223d8030 X-Archives-Hash: af2df00f1128c072534b1b148ea79af1 commit: b3a7ba62e60163c5d63b376ec23711fd7626ecb0 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Mar 2 09:52:54 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Mar 2 09:53:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a7ba62 media-sound/ecasound: Fix building against sys-libs/ncurses[tinfo] (bug #609776). Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/ecasound/ecasound-2.9.1-r1.ebuild | 9 ++++++--- .../ecasound/files/ecasound-2.9.1-tinfo.patch | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/media-sound/ecasound/ecasound-2.9.1-r1.ebuild b/media-sound/ecasound/ecasound-2.9.1-r1.ebuild index 5485c1404a0..52575e945b5 100644 --- a/media-sound/ecasound/ecasound-2.9.1-r1.ebuild +++ b/media-sound/ecasound/ecasound-2.9.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,14 +34,17 @@ RDEPEND="sys-libs/readline:0= sndfile? ( media-libs/libsndfile:= )" DEPEND="${RDEPEND} virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-2.8.1-ldflags.patch + "${FILESDIR}"/${PN}-2.9.1-tinfo.patch +) pkg_setup() { use python && python-single-r1_pkg_setup } src_prepare() { - eapply "${FILESDIR}"/${PN}-2.8.1-ldflags.patch - eapply_user + default # if use python ; then # sed -i -e "s:\$(ecasoundc_libs):\0 $(python_get_library -l):" \ diff --git a/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch b/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch new file mode 100644 index 00000000000..c4953420b18 --- /dev/null +++ b/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch @@ -0,0 +1,21 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -810,7 +810,9 @@ + dnl switch to C for testing + AC_LANG_C + +-AC_CHECK_LIB(ncurses, main, termcap_library=ncurses, ++AC_CHECK_LIB(ncurses, main, ++ [termcap_library=ncurses] ++ AC_SEARCH_LIBS(tigetstr, tinfo), + AC_CHECK_LIB(termcap, main, termcap_library=termcap, + termcap_library=none)) + +@@ -821,6 +823,7 @@ + y | yes) + AC_MSG_RESULT(yes) + termcap_library=ncurses ++ + ;; + + n | no)