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 8D0981395E2 for ; Sat, 3 Dec 2016 13:45:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3AEAE0AE6; Sat, 3 Dec 2016 13:45:45 +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 91028E0AE6 for ; Sat, 3 Dec 2016 13:45:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 98E97340E7B for ; Sat, 3 Dec 2016 13:45:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D98024A2 for ; Sat, 3 Dec 2016 13:45:43 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1480772741.1b1bbaacd217d1c9bdeea2f88b52f079fad1c231.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/files/, media-libs/jasper/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/jasper/files/jasper-2.0.0-add_libm.patch media-libs/jasper/jasper-2.0.0.ebuild X-VCS-Directories: media-libs/jasper/ media-libs/jasper/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 1b1bbaacd217d1c9bdeea2f88b52f079fad1c231 X-VCS-Branch: master Date: Sat, 3 Dec 2016 13:45:43 +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: d89496f2-f298-4ad6-b4da-b1f420a03a85 X-Archives-Hash: c0dc2924be4cdc22c6f1e8e6457334ea commit: 1b1bbaacd217d1c9bdeea2f88b52f079fad1c231 Author: Justin Lecher gentoo org> AuthorDate: Sat Dec 3 11:54:04 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Dec 3 13:45:41 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1bbaac media-libs/jasper: Fix underlinking detected using ld.gold Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601070 Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> media-libs/jasper/files/jasper-2.0.0-add_libm.patch | 11 +++++++++++ media-libs/jasper/jasper-2.0.0.ebuild | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/media-libs/jasper/files/jasper-2.0.0-add_libm.patch b/media-libs/jasper/files/jasper-2.0.0-add_libm.patch new file mode 100644 index 00000000..8ca2ea6 --- /dev/null +++ b/media-libs/jasper/files/jasper-2.0.0-add_libm.patch @@ -0,0 +1,11 @@ +--- jasper-2.0.0/src/libjasper/CMakeLists.txt.ori 2016-11-28 13:32:57.245053411 +0100 ++++ jasper-2.0.0/src/libjasper/CMakeLists.txt 2016-11-28 13:33:24.707547620 +0100 +@@ -135,6 +135,8 @@ + "${CMAKE_CURRENT_SOURCE_DIR}/include" + ) + ++target_link_libraries(libjasper m) ++ + if (UNIX) + set_target_properties(libjasper PROPERTIES OUTPUT_NAME jasper) + endif() diff --git a/media-libs/jasper/jasper-2.0.0.ebuild b/media-libs/jasper/jasper-2.0.0.ebuild index 199e8dc..d4e7deb 100644 --- a/media-libs/jasper/jasper-2.0.0.ebuild +++ b/media-libs/jasper/jasper-2.0.0.ebuild @@ -33,12 +33,15 @@ RDEPEND=" >=virtual/opengl-7.0-r1:0[${MULTILIB_USEDEP}] >=media-libs/freeglut-2.8.1:0[${MULTILIB_USEDEP}] virtual/glu + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXmu[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} app-arch/unzip" PATCHES=( - "${FILESDIR}"/${PN}-2.0.0-fix-build-system.patch + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-add_libm.patch ) multilib_src_configure() {