diff options
| -rw-r--r-- | meta-oe/recipes-support/mcelog/mcelog/0001-client-Include-string.h-form-mem-function-prototypes.patch | 26 | ||||
| -rw-r--r-- | meta-oe/recipes-support/mcelog/mcelog/0001-genconfig.py-update-shebang.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-support/mcelog/mcelog_189.bb (renamed from meta-oe/recipes-support/mcelog/mcelog_180.bb) | 4 |
3 files changed, 28 insertions, 35 deletions
diff --git a/meta-oe/recipes-support/mcelog/mcelog/0001-client-Include-string.h-form-mem-function-prototypes.patch b/meta-oe/recipes-support/mcelog/mcelog/0001-client-Include-string.h-form-mem-function-prototypes.patch new file mode 100644 index 0000000000..3b6fd7d702 --- /dev/null +++ b/meta-oe/recipes-support/mcelog/mcelog/0001-client-Include-string.h-form-mem-function-prototypes.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From c7753f82261d49862d5e0f9691bf87799d36ef0c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 31 Aug 2022 16:20:03 -0700 | ||
| 4 | Subject: [PATCH] client: Include string.h form mem* function prototypes | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | client.c | 1 + | ||
| 10 | 1 file changed, 1 insertion(+) | ||
| 11 | |||
| 12 | diff --git a/client.c b/client.c | ||
| 13 | index 883b1de..e474e55 100644 | ||
| 14 | --- a/client.c | ||
| 15 | +++ b/client.c | ||
| 16 | @@ -16,6 +16,7 @@ | ||
| 17 | on your Linux system; if not, write to the Free Software Foundation, | ||
| 18 | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ | ||
| 19 | #include <stdio.h> | ||
| 20 | +#include <string.h> | ||
| 21 | #include <sys/socket.h> | ||
| 22 | #include <sys/un.h> | ||
| 23 | #include <unistd.h> | ||
| 24 | -- | ||
| 25 | 2.37.3 | ||
| 26 | |||
diff --git a/meta-oe/recipes-support/mcelog/mcelog/0001-genconfig.py-update-shebang.patch b/meta-oe/recipes-support/mcelog/mcelog/0001-genconfig.py-update-shebang.patch deleted file mode 100644 index 10d17f57d8..0000000000 --- a/meta-oe/recipes-support/mcelog/mcelog/0001-genconfig.py-update-shebang.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From b09ff147e9383d33e6adbcb356b52236610fceda Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Kai Kang <kai.kang@windriver.com> | ||
| 3 | Date: Fri, 1 Apr 2022 10:00:00 +0800 | ||
| 4 | Subject: [PATCH] genconfig.py: update shebang | ||
| 5 | |||
| 6 | It fails to call genconfig.py if no /usr/bin/python on build machine: | ||
| 7 | |||
| 8 | | ./genconfig.py mcelog.conf config-intro.man > mcelog.conf.5 | ||
| 9 | | /bin/sh: ./genconfig.py: /usr/bin/python: bad interpreter: No such file or directory | ||
| 10 | | Makefile:71: recipe for target 'mcelog.conf.5' failed | ||
| 11 | |||
| 12 | Update shebang with 'env python3' instead. | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | |||
| 16 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 17 | --- | ||
| 18 | genconfig.py | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/genconfig.py b/genconfig.py | ||
| 22 | index ce9987f..982cac6 100755 | ||
| 23 | --- a/genconfig.py | ||
| 24 | +++ b/genconfig.py | ||
| 25 | @@ -1,4 +1,4 @@ | ||
| 26 | -#!/usr/bin/python | ||
| 27 | +#!/usr/bin/env python3 | ||
| 28 | # generate man config documentation from mcelog.conf example | ||
| 29 | # genconfig.py mcelog.conf intro.html | ||
| 30 | from __future__ import print_function | ||
| 31 | -- | ||
| 32 | 2.17.1 | ||
| 33 | |||
diff --git a/meta-oe/recipes-support/mcelog/mcelog_180.bb b/meta-oe/recipes-support/mcelog/mcelog_189.bb index a64aacabf9..2f8af9aa3f 100644 --- a/meta-oe/recipes-support/mcelog/mcelog_180.bb +++ b/meta-oe/recipes-support/mcelog/mcelog_189.bb | |||
| @@ -7,11 +7,11 @@ SECTION = "System Environment/Base" | |||
| 7 | 7 | ||
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ | 9 | git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ |
| 10 | file://0001-client-Include-string.h-form-mem-function-prototypes.patch \ | ||
| 10 | file://run-ptest \ | 11 | file://run-ptest \ |
| 11 | file://0001-genconfig.py-update-shebang.patch \ | ||
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRCREV = "4146c9296a0cbd26f1c5e411cb44877f350053bd" | 14 | SRCREV = "b8dfb1fa34eb627a03adfb315326a29ec51214b3" |
| 15 | 15 | ||
| 16 | LICENSE = "GPL-2.0-only" | 16 | LICENSE = "GPL-2.0-only" |
| 17 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 17 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
