Skip to content

Commit

Permalink
media-sound/pianobooster: add patch to fix build failure
Browse files Browse the repository at this point in the history
Gentoo-bug: 369697

Package-Manager: portage-2.2.27
  • Loading branch information
kensington committed Mar 11, 2016
1 parent 76a8b30 commit cf89d96
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Fix build failure caused by underlinking.

Gentoo-bug: 369697

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -57,6 +57,8 @@
#IF(ALSA_FOUND)
ADD_DEFINITIONS(-D__LINUX_ALSASEQ__)
LINK_LIBRARIES (asound)
+ LINK_LIBRARIES (GL)
+ LINK_LIBRARIES (pthread)
#ELSE(ALSA_FOUND)
# MESSAGE(FATAL_ERROR "Please install the 'libasound2-dev' package and then try again")
#ENDIF(ALSA_FOUND)
9 changes: 6 additions & 3 deletions media-sound/pianobooster/pianobooster-0.6.4b.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand Down Expand Up @@ -26,8 +26,11 @@ RDEPEND="${DEPEND}"

DOCS="ReleaseNote.txt ../README.txt"

PATCHES=( "${FILESDIR}"/${P}-cmake.patch
"${FILESDIR}"/${P}-gcc47.patch )
PATCHES=(
"${FILESDIR}"/${P}-cmake.patch
"${FILESDIR}"/${P}-gcc47.patch
"${FILESDIR}"/${P}-underlinking.patch
)

S=${WORKDIR}/${MY_P}/src

Expand Down

0 comments on commit cf89d96

Please sign in to comment.