File fix-build.patch of Package barrier

--- barrier-2.4.0.orig/src/lib/base/Event.h
+++ barrier-2.4.0/src/lib/base/Event.h
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstddef>
 #include "common/basic_types.h"
 #include "common/stdmap.h"
 
--- a/src/lib/base/String.h
+++ b/src/lib/base/String.h
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include "common/common.h"
 #include "common/stdstring.h"
 
--- a/src/lib/net/FingerprintData.h
+++ b/src/lib/net/FingerprintData.h
@@ -18,6 +18,7 @@
 #ifndef BARRIER_LIB_NET_FINGERPRINT_DATA_H
 #define BARRIER_LIB_NET_FINGERPRINT_DATA_H
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
--- a/CMakeLists.txt      2026-03-24 17:49:14.846628540 +0100
+++ b/CMakeLists.txt      2026-03-24 17:49:26.098246133 +0100
@@ -24,7 +24,7 @@
 option (BARRIER_USE_EXTERNAL_GTEST "Use external installation of Google Test framework" OFF)
 
 set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
-set (CMAKE_CXX_STANDARD 14)
+set (CMAKE_CXX_STANDARD 17)
 set (CMAKE_CXX_EXTENSIONS OFF)
 set (CMAKE_CXX_STANDARD_REQUIRED ON)
 set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")

openSUSE Build Service is sponsored by