package/kmsxx: fix build with gcc 10
PATCH 1/1 package/kmsxx: fix build with gcc 10
Fixes:
- http://autobuild.buildroot.org/results/59f70fb725c2f07e27dc818839e02f2788ee490c
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...card.h-to-follow-gcc10-porting-guide.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch
package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch new file +25 -0
@@ -0,0 +1,25 @@ +From b53f9d383c9189a897c44cd88a8fc1b871fdc8a2 Mon Sep 17 00:00:00 2001 +From: Tobias Off <[email protected]> +Date: Thu, 8 Oct 2020 22:37:55 +0200 +Subject: [PATCH] added #include <string> to card.h to follow gcc10 porting + guide + +[Retrieved (and backported) from: +https://github.com/tomba/kmsxx/commit/b53f9d383c9189a897c44cd88a8fc1b871fdc8a2] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + kms++/inc/kms++/card.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h +index 0a7eaaf..f60b184 100644 +--- a/kms++/inc/kms++/card.h ++++ b/kms++/inc/kms++/card.h +@@ -4,6 +4,7 @@ + #include <cstdint> + #include <vector> + #include <map> ++#include <string> + + #include "decls.h" + #include "pipeline.h"
Signature · 1 line
2.29.2
PATCH 1/1 package/kmsxx: fix build with gcc 10
Quoted 8 lines · On Wed, 18 Nov 2020 18:18:27 +0100 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/59f70fb725c2f07e27dc818839e02f2788ee490cSigned-off-by Fabrice Fontaine <[email protected]>--- ...card.h-to-follow-gcc10-porting-guide.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch
I applied to next, in order to be able to apply Peter Seiderer's version bump of kmsxx... before I saw that a different gcc 10.x fix was merged by Peter in master.
Oh well, there's going to be a bit of merge conflict when we'll bring next back into master...
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com