summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-08-31 02:22:56 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-08-31 02:23:43 +1000
commit3b15cc941d69608f6b52f94ea7596dcb233bdc6b (patch)
treed8ed42c96a1368359e67b5131079e306304433f4 /media-sound/kmidimon
parentnet-libs/gnutls: add alpha keyword (diff)
downloadgentoo-3b15cc941d69608f6b52f94ea7596dcb233bdc6b.tar.gz
gentoo-3b15cc941d69608f6b52f94ea7596dcb233bdc6b.tar.bz2
gentoo-3b15cc941d69608f6b52f94ea7596dcb233bdc6b.zip
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
Diffstat (limited to 'media-sound/kmidimon')
-rw-r--r--media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch17
-rw-r--r--media-sound/kmidimon/kmidimon-0.7.5.ebuild3
2 files changed, 19 insertions, 1 deletions
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=(