diff options
| -rw-r--r-- | media-sound/amarok/amarok-9999.ebuild | 5 | ||||
| -rw-r--r-- | media-sound/amarok/files/amarok-liblastfm-headers.patch | 25 |
2 files changed, 29 insertions, 1 deletions
diff --git a/media-sound/amarok/amarok-9999.ebuild b/media-sound/amarok/amarok-9999.ebuild index 6cfbeb8ca75..863557895f2 100644 --- a/media-sound/amarok/amarok-9999.ebuild +++ b/media-sound/amarok/amarok-9999.ebuild @@ -85,7 +85,10 @@ RDEPEND="${COMMONDEPEND} !media-sound/amarok:4 " -PATCHES=( ${FILESDIR}/${PN}-2.8.90-mysqld-rpath.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-2.8.90-mysqld-rpath.patch + "${FILESDIR}"/${PN}-liblastfm-headers.patch +) src_configure() { local mycmakeargs=( diff --git a/media-sound/amarok/files/amarok-liblastfm-headers.patch b/media-sound/amarok/files/amarok-liblastfm-headers.patch new file mode 100644 index 00000000000..7120db04127 --- /dev/null +++ b/media-sound/amarok/files/amarok-liblastfm-headers.patch @@ -0,0 +1,25 @@ +From b331e6e7c0e34dd896e21b9d1569214a0ec0fddb Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Mon, 19 Mar 2018 22:26:54 +0100 +Subject: [PATCH] Search for liblastfm header path without suffix + +--- + cmake/modules/FindLibLastFm.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/modules/FindLibLastFm.cmake b/cmake/modules/FindLibLastFm.cmake +index a3a065f181..ef89423c90 100644 +--- a/cmake/modules/FindLibLastFm.cmake ++++ b/cmake/modules/FindLibLastFm.cmake +@@ -13,7 +13,7 @@ find_path(LIBLASTFM_INCLUDE_DIR NAMES global.h + /opt/local/include + /usr/include + /usr/local/include +- PATH_SUFFIXES lastfm5 ++ PATH_SUFFIXES lastfm5 lastfm + ) + + find_library( LIBLASTFM_LIBRARY NAMES lastfm5 +-- +2.16.2 + |
