summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-bsp/con2fbmap/con2fbmap/0001-con2fbmap-Add-missing-include-on-string.h.patch28
-rw-r--r--meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb4
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-oe/recipes-bsp/con2fbmap/con2fbmap/0001-con2fbmap-Add-missing-include-on-string.h.patch b/meta-oe/recipes-bsp/con2fbmap/con2fbmap/0001-con2fbmap-Add-missing-include-on-string.h.patch
new file mode 100644
index 0000000000..d1b75f1c54
--- /dev/null
+++ b/meta-oe/recipes-bsp/con2fbmap/con2fbmap/0001-con2fbmap-Add-missing-include-on-string.h.patch
@@ -0,0 +1,28 @@
1From 0a948d8d91b789e9c9b60136fada75b1d464af63 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 18:31:27 -0700
4Subject: [PATCH] con2fbmap: Add missing include on string.h
5
6strerror() is from string.h therefore include it to fix -Wimplicit-function-declaration
7warnings
8
9Upstream-Status: Submitted [https://gitlab.com/pibox/con2fbmap/-/merge_requests/1]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/con2fbmap.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/con2fbmap.c b/src/con2fbmap.c
16index 7831931..7a2e870 100644
17--- a/src/con2fbmap.c
18+++ b/src/con2fbmap.c
19@@ -1,5 +1,6 @@
20 #include <stdio.h>
21 #include <stdlib.h>
22+#include <string.h> /* for strerror */
23 #include <unistd.h>
24 #include <fcntl.h>
25 #include <sys/ioctl.h>
26--
272.37.3
28
diff --git a/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb b/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
index 5d1c5ba7e4..302a61e8a8 100644
--- a/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
+++ b/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
@@ -9,7 +9,9 @@ SECTION = "console/utils"
9DEPENDS = "" 9DEPENDS = ""
10 10
11SRCREV = "61ed2f28b294b1ebeb767df8cb5fcd391709c8e2" 11SRCREV = "61ed2f28b294b1ebeb767df8cb5fcd391709c8e2"
12SRC_URI = "git://gitlab.com/pibox/con2fbmap.git;protocol=https;branch=master" 12SRC_URI = "git://gitlab.com/pibox/con2fbmap.git;protocol=https;branch=master \
13 file://0001-con2fbmap-Add-missing-include-on-string.h.patch \
14 "
13 15
14S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
15 17