public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/files/, media-libs/jasper/
Date: Sat,  3 Dec 2016 13:45:43 +0000 (UTC)	[thread overview]
Message-ID: <1480772741.1b1bbaacd217d1c9bdeea2f88b52f079fad1c231.jlec@gentoo> (raw)

commit:     1b1bbaacd217d1c9bdeea2f88b52f079fad1c231
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 11:54:04 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec <AT> 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() {


             reply	other threads:[~2016-12-03 13:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03 13:45 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-14 14:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/files/, media-libs/jasper/ Sam James
2018-02-05 10:55 Thomas Deutschmann
2017-05-16  6:39 David Seifert
2016-11-27 10:24 David Seifert
2016-10-23 14:18 David Seifert
2016-10-18 18:35 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480772741.1b1bbaacd217d1c9bdeea2f88b52f079fad1c231.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox