diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-01 13:17:08 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-05 22:49:34 -0700 |
commit | 9ba6b56abcd63bdeacfacc7653293ab05b2b0b34 (patch) | |
tree | 61ae924a05a000b60897d62a83275474b472fc48 /meta-oe | |
parent | 6f01823298e5c93af7b5691a05ea11262ef30e68 (diff) | |
download | meta-openembedded-9ba6b56abcd63bdeacfacc7653293ab05b2b0b34.tar.gz |
rdfind: Fix AC_CHECK_LIB for libnettle
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/rdfind/rdfind/0001-configure-Fix-check-for-AC_CHECK_LIB.patch | 30 | ||||
-rw-r--r-- | meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/rdfind/rdfind/0001-configure-Fix-check-for-AC_CHECK_LIB.patch b/meta-oe/recipes-support/rdfind/rdfind/0001-configure-Fix-check-for-AC_CHECK_LIB.patch new file mode 100644 index 000000000..754c388ae --- /dev/null +++ b/meta-oe/recipes-support/rdfind/rdfind/0001-configure-Fix-check-for-AC_CHECK_LIB.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 823a4deb61f6f9b91b0cfc4a7e7b20922c635777 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 1 Sep 2022 13:13:50 -0700 | ||
4 | Subject: [PATCH] configure: Fix check for AC_CHECK_LIB | ||
5 | |||
6 | Check for nettle_pbkdf2_hmac_sha256 from libnettle instead of main() | ||
7 | which is not in nettle library | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/pauldreik/rdfind/pull/115] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index be1b2fd..157a7d7 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -46,7 +46,7 @@ AC_CHECK_HEADER(nettle/sha.h,,[AC_MSG_ERROR([ | ||
20 | On Debian-ish systems, use "apt-get install nettle-dev" to get a system | ||
21 | wide nettle install. | ||
22 | ])]) | ||
23 | -AC_CHECK_LIB(nettle,main,,[AC_MSG_ERROR([ | ||
24 | +AC_CHECK_LIB(nettle,nettle_pbkdf2_hmac_sha256,,[AC_MSG_ERROR([ | ||
25 | Could not link to libnettle. Please install nettle | ||
26 | first. If you have already done so; please run ldconfig | ||
27 | as root or check whether the path libnettle was installed | ||
28 | -- | ||
29 | 2.37.3 | ||
30 | |||
diff --git a/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb b/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb index 64ae62a2d..f8eb5d38d 100644 --- a/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb +++ b/meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa22e16ebbe6638b2bd253338fbded9f" | |||
6 | DEPENDS = "nettle autoconf-archive" | 6 | DEPENDS = "nettle autoconf-archive" |
7 | 7 | ||
8 | SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ | 8 | SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ |
9 | file://0001-configure-Fix-check-for-AC_CHECK_LIB.patch \ | ||
9 | " | 10 | " |
10 | 11 | ||
11 | SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7" | 12 | SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7" |