From bc75e1f0ac97f2fc262456c7e3cfad09c4af3e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Mon, 22 Sep 2025 10:38:51 +0200 Subject: [PATCH] libtool: Add new LLVM Flang runtime library name to exceptions The Flang runtime library was renamed in LLVM 21. Add the new name of the Flang runtime library to the list of static libraries that are allowed exceptionally to be linked into shared libraries. --- ...Allow-statically-linking-Flang-support-libraries-whe.patch | 2 +- libtool/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch b/libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch index befe5146..d8179a75 100644 --- a/libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch +++ b/libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch @@ -17,7 +17,7 @@ index 5f9af8c2..97810d08 100644 + # libraries is allowed, but linking other static libraries is + # non-portable. + case $potlib in -+ */libFortran*.$libext) ++ */libFortran*.$libext | */libflang_rt*.$libext) + func_append newdeplibs " $potlib" + a_deplib= + ;; diff --git a/libtool/PKGBUILD b/libtool/PKGBUILD index a6ddfe85..9d8ae0eb 100644 --- a/libtool/PKGBUILD +++ b/libtool/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=libtool pkgname=('libtool' 'libltdl') pkgver=2.5.4 -pkgrel=3 +pkgrel=4 pkgdesc="A generic library support script" arch=('i686' 'x86_64') url="https://www.gnu.org/software/libtool" @@ -34,7 +34,7 @@ sha256sums=('f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675' '67e4f2429dfe67499b1829d0a8312d9a043057db354307f8db41d9f967944346' 'd873306936060e6c72cf0f3c174131cc85debc2ea6dc924eabdf6e3a813c768e' '00f0b0429431a884b481eb92f4b138c50bc17eb09f0985d7ebfd4a0a50407eb6' - '30b361a43266dbd80c94fe58196113ad3ae78e134da62d9dfad65ac67e337db8' + '96538c6cb843f8673f4db8199402b4b02d9477d71c86df5f5e94e3e4d1347b54' '0dd70a4f955ed4cd94a0d13b784b7db7dddbd4d1d6ee5b092202f8b9496fd3eb' '2cb1b61247a4632698ac7e26c496c3ad8c1b4fde080d301994dbddc0794a4bf4' 'fca5986c0010b202ee65c69939815269bd46b3ce948d9222916985652da7e2af'