telldus-core: Fix compilation with full NLS 8963/head
authorRosen Penev <rosenp@gmail.com>
Sun, 12 May 2019 07:38:50 +0000 (00:38 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 12 May 2019 07:40:27 +0000 (00:40 -0700)
-fpermissive is needed due to mismatching parameters (const char vs char).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/telldus-core/Makefile

index 0dbe28f0f74b8cb93c2eb51877fcd9c306bbde7b..ea3ba6ff57427f3531f62b5bdbcc0afc57237e44 100644 (file)
@@ -1,4 +1,4 @@
-# 
+#
 # Copyright (C) 2010 Telldus Technologies AB
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -7,10 +7,10 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=telldus-core
 PKG_VERSION:=2.1.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_LICENSE:=LGPL-2.1
-PKG_BUILD_DEPENDS:=argp-standalone 
+PKG_BUILD_DEPENDS:=argp-standalone
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://download.telldus.com/TellStick/Software/telldus-core/
 PKG_HASH:=a20f6c74814afc23312d2c93ebbb37fdea9deaaee05ae7b6a6275e11e4662014
@@ -40,6 +40,8 @@ CMAKE_OPTIONS+=\
        -DGENERATE_MAN=0 \
        -DICONV_LIBRARY=-liconv
 
+TARGET_CXXFLAGS += -fpermissive
+
 define Package/telldus-core/conffiles
 /etc/tellstick.conf
 endef