package/kmsxx: fix build with gcc 10
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 18 Nov 2020 17:18:27 +0000 (18:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 1 Dec 2020 21:47:29 +0000 (22:47 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/59f70fb725c2f07e27dc818839e02f2788ee490c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch [new file with mode: 0644]

diff --git a/package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch b/package/kmsxx/0002-added-include-string-to-card.h-to-follow-gcc10-porting-guide.patch
new file mode 100644 (file)
index 0000000..a326577
--- /dev/null
@@ -0,0 +1,25 @@
+From b53f9d383c9189a897c44cd88a8fc1b871fdc8a2 Mon Sep 17 00:00:00 2001
+From: Tobias Off <sebastianoff@web.de>
+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 <fontaine.fabrice@gmail.com>
+---
+ 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"