summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-08-27 17:27:48 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-08-27 17:27:48 +0100
commitf0e7d3a13581b299286888b7c5080d18906a29c5 (patch)
tree7b0ff8ee107e51cd93b109b4056e872512c5277a /media-libs/quarter
parentmedia-libs/quarter: add missing dev-qt/designer:4 depend, bug #584216 (diff)
downloadgentoo-f0e7d3a13581b299286888b7c5080d18906a29c5.tar.gz
gentoo-f0e7d3a13581b299286888b7c5080d18906a29c5.tar.bz2
gentoo-f0e7d3a13581b299286888b7c5080d18906a29c5.zip
media-libs/quarter: fix GL underlinking, bug #369967
Before the change shared library had undefined glEnable() symbol. Easy to test as: $ LDFLAGS="-Wl,--no-undefined" emerge -1 quarter .libs/libQuarter_la-QuarterWidget.o: In function `SIM::Coin3D::Quarter::QuarterWidget::initializeGL()': QuarterWidget.cpp:(.text+0xac6): undefined reference to `glEnable' Reported-by: Diego Elio Pettenò Bug: https://bugs.gentoo.org/show_bug.cgi?id=369967 Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs/quarter')
-rw-r--r--media-libs/quarter/quarter-1.0.0-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/quarter/quarter-1.0.0-r1.ebuild b/media-libs/quarter/quarter-1.0.0-r1.ebuild
index 4d863b3a852e..e6e370acaa41 100644
--- a/media-libs/quarter/quarter-1.0.0-r1.ebuild
+++ b/media-libs/quarter/quarter-1.0.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit autotools-utils
+inherit autotools-utils flag-o-matic
MY_P="${P/q/Q}"
@@ -23,6 +23,7 @@ RDEPEND="
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
+ virtual/opengl
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -38,6 +39,8 @@ PATCHES=(
DOCS=(AUTHORS NEWS README)
src_configure() {
+ append-libs -lGL #369967, library calls glEnable()
+
local myeconfargs=(
htmldir="${ROOT}usr/share/doc/${PF}/html"
--enable-pkgconfig