summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-01 13:17:08 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-05 22:49:34 -0700
commit9ba6b56abcd63bdeacfacc7653293ab05b2b0b34 (patch)
tree61ae924a05a000b60897d62a83275474b472fc48 /meta-oe
parent6f01823298e5c93af7b5691a05ea11262ef30e68 (diff)
downloadmeta-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.patch30
-rw-r--r--meta-oe/recipes-support/rdfind/rdfind_1.4.1.bb1
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 @@
1From 823a4deb61f6f9b91b0cfc4a7e7b20922c635777 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 1 Sep 2022 13:13:50 -0700
4Subject: [PATCH] configure: Fix check for AC_CHECK_LIB
5
6Check for nettle_pbkdf2_hmac_sha256 from libnettle instead of main()
7which is not in nettle library
8
9Upstream-Status: Submitted [https://github.com/pauldreik/rdfind/pull/115]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
16index 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--
292.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"
6DEPENDS = "nettle autoconf-archive" 6DEPENDS = "nettle autoconf-archive"
7 7
8SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ 8SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \
9 file://0001-configure-Fix-check-for-AC_CHECK_LIB.patch \
9" 10"
10 11
11SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7" 12SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7"