From: Michael Palimaka Date: Sun, 30 Aug 2015 16:22:56 +0000 (+1000) Subject: media-sound/kmidimon: add patch fixing build failure with kde-base/kdelibs-4.14.11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3b15cc941d69608f6b52f94ea7596dcb233bdc6b;p=gentoo.git media-sound/kmidimon: add patch fixing build failure with kde-base/kdelibs-4.14.11 Gentoo-bug: 559180 Package-Manager: portage-2.2.20.1 --- diff --git a/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch b/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch new file mode 100644 index 000000000000..833be9694c32 --- /dev/null +++ b/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch @@ -0,0 +1,17 @@ +The uninstall target is created automatically by FindKDE4Internal. Due to +cmake policy changes in kdelibs-4.14.11, this target name collision causes +a build failure. + +https://bugs.gentoo.org/show_bug.cgi?id=559180 + +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -132,8 +132,6 @@ + "${CMAKE_SOURCE_DIR}/cmake_admin/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) +-ADD_CUSTOM_TARGET(uninstall +- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") + + ADD_CUSTOM_TARGET ( tarball + COMMAND mkdir -p kmidimon-${VERSION} diff --git a/media-sound/kmidimon/kmidimon-0.7.5.ebuild b/media-sound/kmidimon/kmidimon-0.7.5.ebuild index 9a0f8a376966..9e4cb991a582 100644 --- a/media-sound/kmidimon/kmidimon-0.7.5.ebuild +++ b/media-sound/kmidimon/kmidimon-0.7.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,6 +24,7 @@ RDEPEND=" DEPEND="${RDEPEND}" DOCS=( AUTHORS ChangeLog NEWS README TODO ) +PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" ) src_configure() { local mycmakeargs=(