summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch')
-rw-r--r--debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch b/debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch
new file mode 100644
index 0000000000..152e5978f8
--- /dev/null
+++ b/debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch
@@ -0,0 +1,24 @@
+From: Carsten Schoenert <c.schoenert@t-online.de>
+Date: Tue, 18 Jul 2023 19:55:09 +0200
+Subject: rnp: Fix include for format specifiers for uint32_t
+
+The internal rnp library need the header file cinttypes so the format
+definitions in sexp-error.h knows the format of uint32_t.
+
+Forwarded: not-needed
+---
+ comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h b/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
+index 332a63b..6e9dacc 100644
+--- a/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
++++ b/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
+@@ -29,6 +29,7 @@
+
+ #pragma once
+
++#include <cinttypes>
+ #include <cstdint>
+ #include <exception>
+ #include <iostream>