diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-12-02 08:08:52 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-02 08:10:26 -0800 |
commit | 8dba0c9bad9e7adee59b5697e0ad5d153f63ee55 (patch) | |
tree | c0abc5a822bcc92ca9041757385f93904ee33ece /meta-oe/recipes-extended | |
parent | f5279055e59056fac64d0d4424f809831896c955 (diff) | |
download | meta-openembedded-8dba0c9bad9e7adee59b5697e0ad5d153f63ee55.tar.gz |
liblognorm:Add asprintf to autoconf function check macro
Fix build error found with clang-17
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch | 28 | ||||
-rw-r--r-- | meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb | 4 |
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch b/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch new file mode 100644 index 000000000..abb09bc64 --- /dev/null +++ b/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From b8c65236cd6cd68b57004479006c683455680a82 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alfred Wingate <parona@protonmail.com> | ||
3 | Date: Sun, 15 Oct 2023 12:34:52 +0100 | ||
4 | Subject: [PATCH] Add asprintf to autoconf function check macro | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/rsyslog/liblognorm/pull/376] | ||
7 | Signed-off-by: Alfred Wingate <parona@protonmail.com> | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | configure.ac | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index b6f92f1..b057550 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -55,7 +55,7 @@ AC_TYPE_SIZE_T | ||
18 | AC_FUNC_SELECT_ARGTYPES | ||
19 | AC_TYPE_SIGNAL | ||
20 | AC_FUNC_STRERROR_R | ||
21 | -AC_CHECK_FUNCS([strdup strndup strtok_r]) | ||
22 | +AC_CHECK_FUNCS([asprintf strdup strndup strtok_r]) | ||
23 | |||
24 | LIBLOGNORM_CFLAGS="-I\$(top_srcdir)/src" | ||
25 | LIBLOGNORM_LIBS="\$(top_builddir)/src/liblognorm.la" | ||
26 | -- | ||
27 | 2.43.0 | ||
28 | |||
diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb index f9196af92..0cc128c8c 100644 --- a/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb +++ b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb | |||
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ca016db57e008528dace002188c73dad" | |||
8 | 8 | ||
9 | DEPENDS = "libfastjson libestr" | 9 | DEPENDS = "libfastjson libestr" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/rsyslog/liblognorm;branch=master;protocol=https" | 11 | SRC_URI = "git://github.com/rsyslog/liblognorm;branch=master;protocol=https \ |
12 | file://0001-Add-asprintf-to-autoconf-function-check-macro.patch \ | ||
13 | " | ||
12 | SRCREV = "46c6ee4c8e5f827893e485a4ef1aff04ea881273" | 14 | SRCREV = "46c6ee4c8e5f827893e485a4ef1aff04ea881273" |
13 | 15 | ||
14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |