summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch33
-rw-r--r--meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb17
2 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch b/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch
new file mode 100644
index 0000000000..2a9388b766
--- /dev/null
+++ b/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch
@@ -0,0 +1,33 @@
1From b6af55e8ae120488abc83312fcd184d8352175eb Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 1 Jul 2024 10:53:45 +0000
4Subject: [PATCH] Check for correct fts module
5
6fts-standalone is a gentoo-specific name[1], every other distribution that
7uses this library has named it musl-fts.
8
9[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/fts-standalone/fts-standalone-1.2.7.ebuild#n34
10
11Upstream-Status: Pending [discussing with libabigail and gentoo]
12Signed-off-by: Ross Burton <ross.burton@arm.com>
13---
14 configure.ac | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index d329490..5bad2ae 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -295,10 +295,10 @@ AS_IF([test "x$ac_cv_bad_fts" = "xyes"],
22 [CFLAGS="$CFLAGS -DBAD_FTS=1",
23 CXXFLAGS="$CXXFLAGS -DBAD_FTS=1"])
24
25-dnl On musl, we need to find fts-standalone
26+dnl On musl, we need to find the standalone fts library
27 AS_CASE(
28 [${host_os}], [*-musl*], [
29- PKG_CHECK_MODULES([FTS], [fts-standalone])
30+ PKG_CHECK_MODULES([FTS], [musl-fts])
31 ])
32
33 dnl Check for dependency: libelf, libdw, libebl (elfutils)
diff --git a/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb b/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb
new file mode 100644
index 0000000000..5c262d2880
--- /dev/null
+++ b/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb
@@ -0,0 +1,17 @@
1SUMMARY = "The ABI Generic Analysis and Instrumentation Library"
2HOMEPAGE = "https://sourceware.org/libabigail/"
3
4LICENSE = "Apache-2.0-with-LLVM-exception"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
6
7SRC_URI = "http://mirrors.kernel.org/sourceware/${BPN}/${BP}.tar.xz \
8 file://0001-Check-for-correct-fts-module.patch \
9 "
10SRC_URI[sha256sum] = "7cfc4e9b00ae38d87fb0c63beabb32b9cbf9ce410e52ceeb5ad5b3c5beb111f3"
11
12DEPENDS = "elfutils libxml2"
13DEPENDS:append:libc-musl = " fts"
14
15inherit autotools pkgconfig lib_package
16
17BBCLASSEXTEND = "native nativesdk"