mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 20:09:41 +01:00
0001-aptwebserver.cc-Include-array.patch refreshed for new version. (From OE-Core rev: e147934d8dcb31a33ec3396d31a09aa9cdae2a90) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1019 B
Diff
31 lines
1019 B
Diff
From 5985f366750a73c81c7d86893a2b959b4af062a5 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Wed, 26 May 2021 22:12:46 -0700
|
|
Subject: [PATCH] aptwebserver.cc: Include <array>
|
|
|
|
This helps getting std::array definition
|
|
|
|
Fixes
|
|
test/interactive-helper/aptwebserver.cc:36:55: error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *, 2>, 6>'
|
|
constexpr std::array<std::array<char const *,2>,6> htmlencode = {{
|
|
|
|
Upstream-Status: Submitted [https://github.com/Debian/apt/pull/133]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
test/interactive-helper/aptwebserver.cc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc
|
|
index f4f8d95..361c7a9 100644
|
|
--- a/test/interactive-helper/aptwebserver.cc
|
|
+++ b/test/interactive-helper/aptwebserver.cc
|
|
@@ -23,6 +23,7 @@
|
|
|
|
#include <array>
|
|
#include <algorithm>
|
|
+#include <array>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <list>
|