summaryrefslogtreecommitdiffstats
path: root/redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff')
-rw-r--r--redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff b/redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff
new file mode 100644
index 000000000..b9540655f
--- /dev/null
+++ b/redhat/tdenetwork/kdenetwork-3.5.13.1-wifi3.diff
@@ -0,0 +1,14 @@
+diff --git a/wifi/ConfigureChecks.cmake b/wifi/ConfigureChecks.cmake
+index f3a7ddb..86ca98b 100644
+--- a/wifi/ConfigureChecks.cmake
++++ b/wifi/ConfigureChecks.cmake
+@@ -21,7 +21,9 @@ endif( )
+
+
+ # check for wireless tools
++tde_save_and_set( CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-lm" )
+ check_library_exists( iw iw_get_stats "" HAVE_IW )
++tde_restore( CMAKE_REQUIRED_FLAGS )
+ if( HAVE_IW )
+ check_include_file( iwlib.h HAVE_IWLIB_H )
+ # we need at least wireless tools >= 27