mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 17:59:26 +00:00
minifi-cpp: include limits header for numeric_limits definition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
From fda0713ce3e07786757a057abe7ebf2146d33780 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Tue, 2 Mar 2021 18:31:45 -0800
|
||||||
|
Subject: [PATCH] cxxopts: Add limits header
|
||||||
|
|
||||||
|
needed for numeric_limits
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/1021]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
thirdparty/cxxopts/include/cxxopts.hpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
--- a/thirdparty/cxxopts/include/cxxopts.hpp
|
||||||
|
+++ b/thirdparty/cxxopts/include/cxxopts.hpp
|
||||||
|
@@ -29,6 +29,7 @@ THE SOFTWARE.
|
||||||
|
#include <cctype>
|
||||||
|
#include <exception>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <limits>
|
||||||
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
#include <regex>
|
||||||
|
--- a/libminifi/src/utils/StringUtils.cpp
|
||||||
|
+++ b/libminifi/src/utils/StringUtils.cpp
|
||||||
|
@@ -21,6 +21,8 @@
|
||||||
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
namespace org {
|
||||||
|
namespace apache {
|
||||||
|
namespace nifi {
|
||||||
@@ -28,6 +28,7 @@ SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git \
|
|||||||
file://0002-cmake-LibreSSL.cmake-use-libressl-local-source-tarba.patch \
|
file://0002-cmake-LibreSSL.cmake-use-libressl-local-source-tarba.patch \
|
||||||
file://0003-cmake-BundledOSSPUUID.cmake-use-ossp-uuid-local-sour.patch \
|
file://0003-cmake-BundledOSSPUUID.cmake-use-ossp-uuid-local-sour.patch \
|
||||||
file://0001-civetweb-CMakeLists.txt-do-not-search-gcc-ar-and-gcc.patch \
|
file://0001-civetweb-CMakeLists.txt-do-not-search-gcc-ar-and-gcc.patch \
|
||||||
|
file://0001-cxxopts-Add-limits-header.patch \
|
||||||
file://minifi.service \
|
file://minifi.service \
|
||||||
file://systemd-volatile.conf \
|
file://systemd-volatile.conf \
|
||||||
file://sysvinit-volatile.conf \
|
file://sysvinit-volatile.conf \
|
||||||
|
|||||||
Reference in New Issue
Block a user