summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-09-12 01:19:02 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-09-12 01:20:07 +1000
commitbd7dad9ddb35e1e3e68ad43176c5e48fbb25338d (patch)
tree6292a336df19a9dd0d875ef88a502fffa50537cb /kde-misc/plasma-nm
parentdev-libs/libgpg-error: add alpha keyword (diff)
downloadgentoo-bd7dad9ddb35e1e3e68ad43176c5e48fbb25338d.tar.gz
gentoo-bd7dad9ddb35e1e3e68ad43176c5e48fbb25338d.tar.bz2
gentoo-bd7dad9ddb35e1e3e68ad43176c5e48fbb25338d.zip
kde-misc/plasma-nm: fix build with net-misc/networkmanager-1.0.6
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-misc/plasma-nm')
-rw-r--r--kde-misc/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch14
-rw-r--r--kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild2
2 files changed, 16 insertions, 0 deletions
diff --git a/kde-misc/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch b/kde-misc/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch
new file mode 100644
index 000000000000..1151763886c3
--- /dev/null
+++ b/kde-misc/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch
@@ -0,0 +1,14 @@
+Fixes build with networkmanager-1.0.6.
+
+Triggered by http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-0&id=6f616d4c4b04d5478f60d0311317bc84c5459ea4.
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -49,6 +49,7 @@
+ ${CMAKE_CURRENT_SOURCE_DIR}/libs
+ ${CMAKE_CURRENT_SOURCE_DIR}/libs/editor/
+ ${NETWORKMANAGER_INCLUDE_DIRS}
++ ${NM-UTIL_INCLUDE_DIRS}
+ ${NETWORKMANAGERQT_INCLUDE_DIRS}
+ ${KDE4_INCLUDES})
+
diff --git a/kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild b/kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild
index e143557c7bc1..6bdcc223fa08 100644
--- a/kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild
+++ b/kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild
@@ -39,6 +39,8 @@ DEPEND="${RDEPEND}
sys-devel/gettext
"
+PATCHES=( "${FILESDIR}/${P}-networkmanager-1.0.6.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use !modemmanager DISABLE_MODEMMANAGER_SUPPORT)