From aecc5ee4a8e799e4b5ef47197a48dfcb9e7c19ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Mon, 22 Sep 2025 13:51:13 +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 +- mingw-w64-libtool/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch b/mingw-w64-libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch index befe514685..d8179a75c1 100644 --- a/mingw-w64-libtool/0004-Allow-statically-linking-Flang-support-libraries-whe.patch +++ b/mingw-w64-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/mingw-w64-libtool/PKGBUILD b/mingw-w64-libtool/PKGBUILD index f8c388b77c..2bba6bf24b 100644 --- a/mingw-w64-libtool/PKGBUILD +++ b/mingw-w64-libtool/PKGBUILD @@ -5,7 +5,7 @@ _realname=libtool pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-libtool" "${MINGW_PACKAGE_PREFIX}-libltdl") pkgver=2.5.4 -pkgrel=1 +pkgrel=2 pkgdesc="A generic library support script (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -37,7 +37,7 @@ sha256sums=('f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675' '67e4f2429dfe67499b1829d0a8312d9a043057db354307f8db41d9f967944346' 'd873306936060e6c72cf0f3c174131cc85debc2ea6dc924eabdf6e3a813c768e' '00f0b0429431a884b481eb92f4b138c50bc17eb09f0985d7ebfd4a0a50407eb6' - '30b361a43266dbd80c94fe58196113ad3ae78e134da62d9dfad65ac67e337db8' + '96538c6cb843f8673f4db8199402b4b02d9477d71c86df5f5e94e3e4d1347b54' '0dd70a4f955ed4cd94a0d13b784b7db7dddbd4d1d6ee5b092202f8b9496fd3eb' '2cb1b61247a4632698ac7e26c496c3ad8c1b4fde080d301994dbddc0794a4bf4' 'acec8e76b0d65c7b5f442203b2446d92a2f81ceaaa211cd2e6b8a036f5115280'