Skip to contentSkip to conversation

package/kmsxx: fix build with gcc 10

PATCH New Fabrice Fontaine 2 participants 2 messages Aug 14, 2020 – Aug 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kmsxx: fix build with gcc 10

Fixes:
- http://autobuild.buildroot.org/results/7777cd9496e8f8cdb093c3f82c550eebedda0b5d

---
 ...0001-fix-compiler-errors-with-gcc-10.patch | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch
package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch new file +35 -0
new file mode 100644
index 0000000000..6ec080af97
@@ -0,0 +1,35 @@
+From aa54634ce7cbbfc844de945e73a9f34cdcb9bb12 Mon Sep 17 00:00:00 2001
+From: Peter Trompeter <[email protected]>
+Date: Fri, 15 May 2020 15:20:47 +0200
+Subject: [PATCH] fix compiler errors with gcc 10
+
+[Retrieved from:
+https://github.com/tomba/kmsxx/commit/aa54634ce7cbbfc844de945e73a9f34cdcb9bb12]
+Signed-off-by: Fabrice Fontaine <[email protected]>
+---
+ kms++/inc/kms++/pixelformats.h | 1 +
+ kms++util/src/opts.cpp         | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/kms++/inc/kms++/pixelformats.h b/kms++/inc/kms++/pixelformats.h
+index 784717d..4e73d5d 100644
+--- a/kms++/inc/kms++/pixelformats.h
++++ b/kms++/inc/kms++/pixelformats.h
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdint>
+ #include <string>
++#include <stdexcept>
+ 
+ namespace kms
+ {
+diff --git a/kms++util/src/opts.cpp b/kms++util/src/opts.cpp
+index afef452..5a14b84 100644
+--- a/kms++util/src/opts.cpp
++++ b/kms++util/src/opts.cpp
+@@ -1,4 +1,5 @@
+ #include <algorithm>
++#include <stdexcept>
+ 
+ #include <unistd.h>
+ #include <getopt.h>
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 package/kmsxx: fix build with gcc 10

Quoted 8 lines · On Sat, 15 Aug 2020 00:00:46 +0200 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/7777cd9496e8f8cdb093c3f82c550eebedda0b5d

---
 ...0001-fix-compiler-errors-with-gcc-10.patch | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com