diff options
author | Eric Hameleers <alien@slackware.com> | 2015-09-13 13:31:27 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-09-13 13:42:12 +0200 |
commit | 0cb37439f64403daf814640249486a3ae5d3c08f (patch) | |
tree | 83106ab34cd8bc8a38e64ae16788ac99e953c90f /kde/patch/kde-runtime/kde-runtime_networkmanager.patch | |
parent | 3a77d91e85cdeb6ff716683aaf242e633c9e960f (diff) | |
download | ktown-0cb37439f64403daf814640249486a3ae5d3c08f.tar.gz ktown-0cb37439f64403daf814640249486a3ae5d3c08f.tar.xz |
Fix the compilation against NetworkManager 1.0.6
Patches were gratiously taken from Gentoo.
These allow kde-runtime (solid backend) and plasma-nm
to compile properly against NetworkManager 1.0.6.
Diffstat (limited to 'kde/patch/kde-runtime/kde-runtime_networkmanager.patch')
-rw-r--r-- | kde/patch/kde-runtime/kde-runtime_networkmanager.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kde/patch/kde-runtime/kde-runtime_networkmanager.patch b/kde/patch/kde-runtime/kde-runtime_networkmanager.patch new file mode 100644 index 0000000..d559b04 --- /dev/null +++ b/kde/patch/kde-runtime/kde-runtime_networkmanager.patch @@ -0,0 +1,19 @@ +Fixes build with networkmanager-1.0.6. + +Triggered by http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-0&id=6f616d4c4b04d5478f60d0311317bc84c5459ea4. + +https://bugs.gentoo.org/show_bug.cgi?id=559892 + +diff --git a/solid-networkstatus/kded/CMakeLists.txt b/solid-networkstatus/kded/CMakeLists.txt +index 633c7f1..341a1ed 100644 +--- a/solid-networkstatus/kded/CMakeLists.txt ++++ b/solid-networkstatus/kded/CMakeLists.txt +@@ -20,7 +20,7 @@ if(NETWORKMANAGER_FOUND) + if(NM_0_7) + MESSAGE(STATUS "Adding in-process NetworkManager service-wart to kded module") + set(kded_networkstatus_PART_SRCS ${kded_networkstatus_PART_SRCS} networkmanagerstatus.cpp) +- include_directories(${NETWORKMANAGER_INCLUDE_DIRS}) ++ include_directories(${NETWORKMANAGER_INCLUDE_DIRS} ${NM-UTIL_INCLUDE_DIRS}) + add_definitions(-DNM_BACKEND_ENABLED) + endif(NM_0_7) + endif(NETWORKMANAGER_FOUND) |