File domoticz-2025.2.patch of Package domoticz
diff -urN domoticz-2025.2.orig/hardware/EnOceanRawValue.cpp domoticz-2025.2/hardware/EnOceanRawValue.cpp
--- domoticz-2025.2.orig/hardware/EnOceanRawValue.cpp 2025-10-13 11:42:57.000000000 +0200
+++ domoticz-2025.2/hardware/EnOceanRawValue.cpp 2025-10-16 21:21:21.118865475 +0200
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "EnOceanRawValue.h"
+#include <cstring>
namespace enocean
{
@@ -51,7 +52,7 @@
uint32_t offsetInd = 0;
while (OffsetDes[offsetInd].Size != 0)
{
- if (strstr(OffsetDes[offsetInd].ShortCut.c_str(), OffsetName) != 0)
+ if (std::strstr(OffsetDes[offsetInd].ShortCut.c_str(), OffsetName) != 0)
return &OffsetDes[offsetInd];
offsetInd++;
}