summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kanyremote/files/disable_bluetooth.patch')
-rw-r--r--kde-misc/kanyremote/files/disable_bluetooth.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/kde-misc/kanyremote/files/disable_bluetooth.patch b/kde-misc/kanyremote/files/disable_bluetooth.patch
new file mode 100644
index 000000000000..214e9f257a32
--- /dev/null
+++ b/kde-misc/kanyremote/files/disable_bluetooth.patch
@@ -0,0 +1,17 @@
+Index: kanyremote-5.10/kanyremote
+===================================================================
+--- kanyremote-5.10.orig/kanyremote
++++ kanyremote-5.10/kanyremote
+@@ -3777,8 +3777,10 @@ def main():
+ usepybluez = False
+
+ if pybluez == False and usepybluez == True:
+- print _tr('Install PyBluez first !\nOr run with --npybluez option')
+- return
++# print _tr('Install PyBluez first !\nOr run with --npybluez option')
++ print _tr('Bluetooth support is disabled')
++ usepybluez = False
++# return
+
+ if debug: print 'Use port ' + port
+