kde-misc/plasma-nm: fix build with net-misc/networkmanager-1.0.6
authorMichael Palimaka <kensington@gentoo.org>
Fri, 11 Sep 2015 15:19:02 +0000 (01:19 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 11 Sep 2015 15:20:07 +0000 (01:20 +1000)
Package-Manager: portage-2.2.20.1

kde-misc/plasma-nm/files/plasma-nm-0.9.3.6-networkmanager-1.0.6.patch [new file with mode: 0644]
kde-misc/plasma-nm/plasma-nm-0.9.3.6.ebuild

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 (file)
index 0000000..1151763
--- /dev/null
@@ -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})
index e143557c7bc16a79bbcfcd93958dfba0511e56b5..6bdcc223fa0850176a8def95fe796142a2a74742 100644 (file)
@@ -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)