diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-01 13:22:06 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-05 22:49:34 -0700 |
commit | 2818fada9b18f3ed4b30c46e9a433c311f9d726b (patch) | |
tree | 1c4c333cf1935dff93058ac22134ad82ae5f4020 /meta-oe/recipes-support/srecord | |
parent | 9ba6b56abcd63bdeacfacc7653293ab05b2b0b34 (diff) | |
download | meta-openembedded-2818fada9b18f3ed4b30c46e9a433c311f9d726b.tar.gz |
srecord: Fix AC_CHECK_LIB for gpg-error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/srecord')
-rw-r--r-- | meta-oe/recipes-support/srecord/files/0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch | 29 | ||||
-rw-r--r-- | meta-oe/recipes-support/srecord/srecord_1.64.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/srecord/files/0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch b/meta-oe/recipes-support/srecord/files/0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch new file mode 100644 index 0000000000..9a411f05d4 --- /dev/null +++ b/meta-oe/recipes-support/srecord/files/0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From f9e50aba10f9d2c58e5d88f51810ca7143f4372b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 1 Sep 2022 13:20:01 -0700 | ||
4 | Subject: [PATCH] configure: Fix AC_CHECK_LIB test for gpg-error | ||
5 | |||
6 | Use check function which is found in libgpg-error | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | etc/configure.ac | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/etc/configure.ac b/etc/configure.ac | ||
15 | index d4ae290..ea0936d 100644 | ||
16 | --- a/etc/configure.ac | ||
17 | +++ b/etc/configure.ac | ||
18 | @@ -30,7 +30,7 @@ AC_CHECK_PROGS(SOELIM, gsoelim soelim roffpp) | ||
19 | AC_CHECK_FUNCS(snprintf vsnprintf) | ||
20 | |||
21 | dnl! This is needed for MingGW build, but not for Unix or Linux, etc. | ||
22 | -AC_CHECK_LIB(gpg-error, main) | ||
23 | +AC_CHECK_LIB(gpg-error, gpg_strerror_r) | ||
24 | |||
25 | dnl! @synopsis AC_ADD_CFLAGS | ||
26 | dnl! | ||
27 | -- | ||
28 | 2.37.3 | ||
29 | |||
diff --git a/meta-oe/recipes-support/srecord/srecord_1.64.bb b/meta-oe/recipes-support/srecord/srecord_1.64.bb index 5765272ce8..0629c0f648 100644 --- a/meta-oe/recipes-support/srecord/srecord_1.64.bb +++ b/meta-oe/recipes-support/srecord/srecord_1.64.bb | |||
@@ -7,6 +7,7 @@ SRC_URI = " \ | |||
7 | http://srecord.sourceforge.net/srecord-${PV}.tar.gz \ | 7 | http://srecord.sourceforge.net/srecord-${PV}.tar.gz \ |
8 | file://add-option-to-remove-docs.patch \ | 8 | file://add-option-to-remove-docs.patch \ |
9 | file://libtool.patch \ | 9 | file://libtool.patch \ |
10 | file://0001-configure-Fix-AC_CHECK_LIB-test-for-gpg-error.patch \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | SRC_URI[md5sum] = "4de4a7497472d7972645c2af91313769" | 13 | SRC_URI[md5sum] = "4de4a7497472d7972645c2af91313769" |