summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-02 10:43:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-03 07:47:36 +0100
commit0aa515cb705798952c6aeef3bcfdbaad05448634 (patch)
treeae7fff8aed77d9969b5a7e9179dfa075d8f2a2a9
parent17766f47e696a352aa6167ca0612f43b1150552e (diff)
downloadpoky-0aa515cb705798952c6aeef3bcfdbaad05448634.tar.gz
libtool: Upgrade 2.5.0 -> 2.5.1
Switch from an alpha to a beta release. Drop two patches merged upstream. (From OE-Core rev: 6348b10b3cae7e1d3fc79d5018f43133a0cd56f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.5.1.inc (renamed from meta/recipes-devtools/libtool/libtool-2.5.0.inc)6
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.5.1.bb (renamed from meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb)0
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.5.1.bb (renamed from meta/recipes-devtools/libtool/libtool-native_2.5.0.bb)0
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch26
-rw-r--r--meta/recipes-devtools/libtool/libtool/filefix.patch30
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.5.1.bb (renamed from meta/recipes-devtools/libtool/libtool_2.5.0.bb)0
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.5.1.bb (renamed from meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb)0
7 files changed, 1 insertions, 61 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-2.5.0.inc b/meta/recipes-devtools/libtool/libtool-2.5.1.inc
index e0c9aae387..94344d4d41 100644
--- a/meta/recipes-devtools/libtool/libtool-2.5.0.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.5.1.inc
@@ -10,19 +10,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 10
11SRC_URI = "https://alpha.gnu.org/gnu/libtool/libtool-${PV}.tar.gz \ 11SRC_URI = "https://alpha.gnu.org/gnu/libtool/libtool-${PV}.tar.gz \
12 file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \ 12 file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \
13 file://0003-ltmain.in-Add-missing-sysroot-to-library-path.patch \
14 file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \ 13 file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
15 file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \ 14 file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
16 file://dont-depend-on-help2man.patch \ 15 file://dont-depend-on-help2man.patch \
17 file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \ 16 file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \
18 file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \ 17 file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \
19 file://nohardcodepaths.patch \ 18 file://nohardcodepaths.patch \
20 file://filefix.patch \
21 " 19 "
22 20
23 21SRC_URI[sha256sum] = "6a83edafd42d4e2ebdc09579f99ce828d5f932f1738de02495cc8c2884e430ce"
24
25SRC_URI[sha256sum] = "d438c317455d85554ce2f998be48866fd40cfcbf834d60b3026f4fc0ed583d23"
26 22
27inherit autotools texinfo 23inherit autotools texinfo
28EXTRA_AUTORECONF = "--exclude=libtoolize" 24EXTRA_AUTORECONF = "--exclude=libtoolize"
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb b/meta/recipes-devtools/libtool/libtool-cross_2.5.1.bb
index 18849cb8ef..18849cb8ef 100644
--- a/meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb
+++ b/meta/recipes-devtools/libtool/libtool-cross_2.5.1.bb
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.5.0.bb b/meta/recipes-devtools/libtool/libtool-native_2.5.1.bb
index be96b52dd6..be96b52dd6 100644
--- a/meta/recipes-devtools/libtool/libtool-native_2.5.0.bb
+++ b/meta/recipes-devtools/libtool/libtool-native_2.5.1.bb
diff --git a/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch b/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
deleted file mode 100644
index 2436f68a49..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From: Khem Raj <raj.khem@gmail.com>
2Subject: [PATCH 03/12] ltmain.in: Add missing sysroot to library path
3
4When using a sysroot we should append it to libdir, which is helpful in
5cross builds as the system is staged in the sysroot. For normal builds,
6i.e. when lt_sysroot is not set, it will still behave the same and add
7-L/usr/lib to the relink command.
8
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10
11Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00017.html]
12Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3221f9f0fb98d5740ab5d0e8db6a731302520644]
13
14Index: libtool-2.5.0/build-aux/ltmain.in
15===================================================================
16--- libtool-2.5.0.orig/build-aux/ltmain.in
17+++ libtool-2.5.0/build-aux/ltmain.in
18@@ -6514,7 +6514,7 @@ func_mode_link ()
19 fi
20 else
21 # We cannot seem to hardcode it, guess we'll fake it.
22- add_dir=-L$libdir
23+ add_dir="-L$lt_sysroot$libdir"
24 # Try looking first in the location we're being installed to.
25 if test -n "$inst_prefix_dir"; then
26 case $libdir in
diff --git a/meta/recipes-devtools/libtool/libtool/filefix.patch b/meta/recipes-devtools/libtool/libtool/filefix.patch
deleted file mode 100644
index 4d85132954..0000000000
--- a/meta/recipes-devtools/libtool/libtool/filefix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1[PATCH] libtool.m4: Fix AC_CHECK_PROG usage
2
3In commit:
4
5https://git.savannah.gnu.org/cgit/libtool.git/commit/m4/libtool.m4?id=64bef5ba65f6820cd5f88e5249324b4f5955ee25
6
7AC_CHECK_TOOL was changed to AC_CHECK_PROG however the arguments are
8different and this result is a value of ":". Change this to match the
9original intent.
10
11The lack of FILECMD was causing failures for mips64 builds as -m elf was
12being passed to LD which isn't supported on our targets.
13
14Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2024-06/msg00000.html]
15
16Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17
18Index: libtool-2.5.0/m4/libtool.m4
19===================================================================
20--- libtool-2.5.0.orig/m4/libtool.m4
21+++ libtool-2.5.0/m4/libtool.m4
22@@ -8216,7 +8216,7 @@ AC_SUBST([DLLTOOL])
23 # ----------------
24 # Check for a file(cmd) program that can be used to detect file type and magic
25 m4_defun([_LT_DECL_FILECMD],
26-[AC_CHECK_PROG([FILECMD], [file], [:])
27+[AC_CHECK_PROG([FILECMD], [file], [file], [:])
28 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
29 ])# _LD_DECL_FILECMD
30
diff --git a/meta/recipes-devtools/libtool/libtool_2.5.0.bb b/meta/recipes-devtools/libtool/libtool_2.5.1.bb
index c1e315aece..c1e315aece 100644
--- a/meta/recipes-devtools/libtool/libtool_2.5.0.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.5.1.bb
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.1.bb
index 2589bd617e..2589bd617e 100644
--- a/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.1.bb