aboutsummaryrefslogtreecommitdiff
path: root/utils/telldus-core
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-09-18 20:06:20 -0700
committerRosen Penev <rosenp@gmail.com>2022-09-18 22:57:43 -0700
commit20ab70dbd8a9d99186c77c533e93e513477f22c9 (patch)
tree58487e9eb5da3b628fb2bac6a4f1aa1d9683b613 /utils/telldus-core
parentc87537e1a752cd6f2966b313e1708b55881f87fa (diff)
telldus-core: add missing include
Needed for memset. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/telldus-core')
-rw-r--r--utils/telldus-core/Makefile2
-rw-r--r--utils/telldus-core/patches/100-add_includes.patch6
2 files changed, 6 insertions, 2 deletions
diff --git a/utils/telldus-core/Makefile b/utils/telldus-core/Makefile
index 8ae70d49c..028d6ff9f 100644
--- a/utils/telldus-core/Makefile
+++ b/utils/telldus-core/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=telldus-core
PKG_VERSION:=2.1.2
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.telldus.com/TellStick/Software/telldus-core/
diff --git a/utils/telldus-core/patches/100-add_includes.patch b/utils/telldus-core/patches/100-add_includes.patch
index f4e82329f..30b46a16f 100644
--- a/utils/telldus-core/patches/100-add_includes.patch
+++ b/utils/telldus-core/patches/100-add_includes.patch
@@ -1,7 +1,7 @@
Added missing includes required by openwrt. Expected to be portable.
--- a/common/Socket_unix.cpp
+++ b/common/Socket_unix.cpp
-@@ -8,6 +8,7 @@
+@@ -8,9 +8,11 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
@@ -9,6 +9,10 @@ Added missing includes required by openwrt. Expected to be portable.
#include <sys/un.h>
#include <fcntl.h>
#include <math.h>
++#include <cstring>
+ #include <string>
+
+ #include "common/Socket.h"
--- a/service/ConnectionListener_unix.cpp
+++ b/service/ConnectionListener_unix.cpp
@@ -13,6 +13,7 @@