From 5bf87b99c2a88787d145cb75d8a4b2d3ae21fdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Mon, 8 Feb 2021 00:09:45 -0300 Subject: [PATCH] libtool: revbump for the gcc update. libtool hardcodes some internal gcc paths, which include the GCC version information. Some applications can fail to build if these paths are used. Revbumping libtool is enough for the recorded paths to be updated. A proper solution is importing the fixes Debian applies: https://salsa.debian.org/metux-guest/libtool/-/blob/ef64614b54a8da38fc4b4424639251fde9d135bf/debian/rules#L115 Also add comment to gcc template about the requirement. --- srcpkgs/gcc/template | 2 ++ srcpkgs/libtool/template | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index 5417d8d87bb..c838403941c 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -1,4 +1,6 @@ # Template file for 'gcc' +# Revbump libtool when updating gcc, since it hardcodes some internal compiler paths +# which use the version number. _majorver=10 _minorver=${_majorver}.2 _patchver=${_minorver}.1 diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template index 1cdc2649b96..d8533aac5b6 100644 --- a/srcpkgs/libtool/template +++ b/srcpkgs/libtool/template @@ -1,7 +1,7 @@ # Template file for 'libtool' pkgname=libtool version=2.4.6 -revision=4 +revision=5 build_style=gnu-configure hostmakedepends="texinfo perl automake help2man xz" depends="tar sed"