mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
openzwave: fix compilation with GCC14
Null pointer dereference. This looks like a bug fix actually... Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=openzwave
|
||||
PKG_VERSION:=1.6.1149
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://old.openzwave.com/downloads
|
||||
|
||||
11
utils/openzwave/patches/010-gcc14.patch
Normal file
11
utils/openzwave/patches/010-gcc14.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/cpp/src/command_classes/AssociationCommandConfiguration.cpp
|
||||
+++ b/cpp/src/command_classes/AssociationCommandConfiguration.cpp
|
||||
@@ -183,7 +183,7 @@ namespace OpenZWave
|
||||
if (Node* node = GetNodeUnsafe())
|
||||
{
|
||||
Group* group = node->GetGroup(groupIdx);
|
||||
- if ( NULL == group)
|
||||
+ if (group)
|
||||
{
|
||||
if (firstReports)
|
||||
{
|
||||
Reference in New Issue
Block a user