From d906b5c4dde6e2f4593606438e0ec1eb44e19eae Mon Sep 17 00:00:00 2001 From: Till Hofmann Date: May 01 2023 10:47:56 +0000 Subject: Add patch to fix missing include for --- diff --git a/librealsense-include-cstdint.patch b/librealsense-include-cstdint.patch new file mode 100644 index 0000000..f116a19 --- /dev/null +++ b/librealsense-include-cstdint.patch @@ -0,0 +1,12 @@ +diff --color -ur librealsense-2.53.1/common/sw-update/http-downloader.h librealsense-2.53.1.include-cstdint/common/sw-update/http-downloader.h +--- librealsense-2.53.1/common/sw-update/http-downloader.h 2022-12-05 09:05:03.000000000 +0100 ++++ librealsense-2.53.1.include-cstdint/common/sw-update/http-downloader.h 2023-05-01 12:37:58.502573828 +0200 +@@ -7,6 +7,8 @@ + #include + #include + ++#include ++ + namespace rs2 + { + namespace http diff --git a/librealsense.spec b/librealsense.spec index 0a3a589..e366263 100644 --- a/librealsense.spec +++ b/librealsense.spec @@ -14,6 +14,7 @@ Patch1: librealsense.realsense-file-shared-library.patch Patch2: librealsense.use-system-pybind11.patch Patch3: librealsense.remove-invalid-unused-code.patch Patch4: librealsense.iostream-include.patch +Patch5: librealsense-include-cstdint.patch BuildRequires: cmake BuildRequires: cmake(glfw3)