- Add upstream pull req patch: 704.patch -- include missing <cstdint>. Fix build with gcc 13. - Use autosetup and ldconfig_scriptlets macros. - Update URL and Source to new home. OBS-URL: https://build.opensuse.org/request/show/1078127 OBS-URL: https://build.opensuse.org/package/show/hardware/upm?expand=0&rev=27
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From 64f75806c04c2ee819cf2f92cb564ad316354823 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sun, 29 Jan 2023 00:27:47 -0800
|
|
Subject: [PATCH] include missing <cstdint>
|
|
|
|
gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included [1]. Explicitly include it for uint{32,64}_t.
|
|
|
|
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
src/mcp9808/mcp9808.hpp | 1 +
|
|
src/micsv89/micsv89.hpp | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/src/mcp9808/mcp9808.hpp b/src/mcp9808/mcp9808.hpp
|
|
index b9e138d79..2509cd30e 100644
|
|
--- a/src/mcp9808/mcp9808.hpp
|
|
+++ b/src/mcp9808/mcp9808.hpp
|
|
@@ -13,6 +13,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <interfaces/iTemperature.hpp>
|
|
diff --git a/src/micsv89/micsv89.hpp b/src/micsv89/micsv89.hpp
|
|
index 2f97dbce8..c6e22ad89 100644
|
|
--- a/src/micsv89/micsv89.hpp
|
|
+++ b/src/micsv89/micsv89.hpp
|
|
@@ -11,6 +11,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <iostream>
|
|
#include <string>
|
|
|