aboutsummaryrefslogtreecommitdiff
path: root/comms/telldus-core
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-04-04 19:00:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-04-04 19:00:23 +0000
commitc90f2c74e6eabca3afe120a50c48ff46dbee8538 (patch)
treec69f5212ee98f5148630948df29f52f44433b773 /comms/telldus-core
parent2785b31000f0c23d1e4cd354dd21c4e3eebdbff5 (diff)
downloadports-c90f2c74e6eabca3afe120a50c48ff46dbee8538.tar.gz
ports-c90f2c74e6eabca3afe120a50c48ff46dbee8538.zip
Notes
Diffstat (limited to 'comms/telldus-core')
-rw-r--r--comms/telldus-core/files/patch-service-ProtocolNexa.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/telldus-core/files/patch-service-ProtocolNexa.cpp b/comms/telldus-core/files/patch-service-ProtocolNexa.cpp
new file mode 100644
index 000000000000..c95e2f0cdbd3
--- /dev/null
+++ b/comms/telldus-core/files/patch-service-ProtocolNexa.cpp
@@ -0,0 +1,11 @@
+--- service/ProtocolNexa.cpp.orig 2014-03-31 12:30:09.000000000 +0200
++++ service/ProtocolNexa.cpp 2016-04-04 13:32:35.124699000 +0200
+@@ -56,7 +56,7 @@ std::string ProtocolNexa::getStringForMe
+ // We also return the last packet so Device::doAction() doesn't
+ // report TELLSTICK_ERROR_METHOD_NOT_SUPPORTED
+
+- str.insert(0, 1, 2); // Repeat two times
++ str.insert(0, 1, '\x2'); // Repeat two times
+ str.insert(0, 1, 'R');
+ for (int i = 0; i < 5; ++i) {
+ controller->send(str);