commit:     e8a4a38633fdeeb8652bf060ea267f02a223537f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 17:24:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 17:24:42 2024 +0000
URL:        https://gitweb.gentoo.org/proj/elt-patches.git/commit/?id=e8a4a386

patches: color-record: add upstream link/references

Signed-off-by: Sam James <sam <AT> gentoo.org>

 patches/color-record/2.4.6     | 22 +++++++++++++---------
 patches/color-record/2.4.6-alt | 20 ++++++++++++++++++--
 patches/color-record/2.4.7     | 16 ++++++++++++++++
 3 files changed, 47 insertions(+), 11 deletions(-)

diff --git a/patches/color-record/2.4.6 b/patches/color-record/2.4.6
index 7e8ac0c..acad694 100644
--- a/patches/color-record/2.4.6
+++ b/patches/color-record/2.4.6
@@ -1,15 +1,19 @@
-From 64baaf00e93b990154a53a1345be24c9d9bb25c5 Mon Sep 17 00:00:00 2001
+https://lists.gnu.org/archive/html/libtool-patches/2024-01/msg00029.html
+https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=533d816dea307ad78c4e7ba16dcdec4c285b0bc8
+
+From 533d816dea307ad78c4e7ba16dcdec4c285b0bc8 Mon Sep 17 00:00:00 2001
 From: Sam James <[email protected]>
-Date: Tue, 9 Jan 2024 01:40:56 +0000
-Subject: [PATCH] ltmain.in: Pass through -fdiagnostics-color,
- -frecord-gcc-switches
+Date: Sun, 14 Jan 2024 06:27:33 +0000
+Subject: ltmain.in: Pass through -fdiagnostics-color, -frecord-gcc-switches
+
+* -fdiagnostics-color: who doesn't like color? No reason to strip it. This
+  makes the link phase stick out like a sore thumb if there's warnings emitted.
 
----
- build-aux/ltmain.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
+* -frecord-gcc-switches: we use it in Gentoo to check if a package respects
+  *FLAGS. Note that we do not need to include -grecord-gcc-switches explicitly
+  here as -g* is already whitelisted.
 
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
-index d5cf07a6..b372dc87 100644
+* build-aux/ltmain.in: Handle -fdiagnostics-color* & -frecord-gcc-switches.
 --- ltmain.in
 +++ ltmain.in
 @@ -5363,7 +5363,8 @@ func_mode_link ()

diff --git a/patches/color-record/2.4.6-alt b/patches/color-record/2.4.6-alt
index c2e62ef..e036aa1 100644
--- a/patches/color-record/2.4.6-alt
+++ b/patches/color-record/2.4.6-alt
@@ -1,5 +1,21 @@
---- ltmain.sh.bak      2024-01-09 01:44:40.796693940 +0000
-+++ ltmain.sh  2024-01-09 01:45:13.455072670 +0000
+https://lists.gnu.org/archive/html/libtool-patches/2024-01/msg00029.html
+https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=533d816dea307ad78c4e7ba16dcdec4c285b0bc8
+
+From 533d816dea307ad78c4e7ba16dcdec4c285b0bc8 Mon Sep 17 00:00:00 2001
+From: Sam James <[email protected]>
+Date: Sun, 14 Jan 2024 06:27:33 +0000
+Subject: ltmain.in: Pass through -fdiagnostics-color, -frecord-gcc-switches
+
+* -fdiagnostics-color: who doesn't like color? No reason to strip it. This
+  makes the link phase stick out like a sore thumb if there's warnings emitted.
+
+* -frecord-gcc-switches: we use it in Gentoo to check if a package respects
+  *FLAGS. Note that we do not need to include -grecord-gcc-switches explicitly
+  here as -g* is already whitelisted.
+
+* build-aux/ltmain.in: Handle -fdiagnostics-color* & -frecord-gcc-switches.
+--- ltmain.sh
++++ ltmain.sh
 @@ -7304,7 +7304,8 @@
        -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
        
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \

diff --git a/patches/color-record/2.4.7 b/patches/color-record/2.4.7
index 54e0478..9baae3d 100644
--- a/patches/color-record/2.4.7
+++ b/patches/color-record/2.4.7
@@ -1,3 +1,19 @@
+https://lists.gnu.org/archive/html/libtool-patches/2024-01/msg00029.html
+https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=533d816dea307ad78c4e7ba16dcdec4c285b0bc8
+
+From 533d816dea307ad78c4e7ba16dcdec4c285b0bc8 Mon Sep 17 00:00:00 2001
+From: Sam James <[email protected]>
+Date: Sun, 14 Jan 2024 06:27:33 +0000
+Subject: ltmain.in: Pass through -fdiagnostics-color, -frecord-gcc-switches
+
+* -fdiagnostics-color: who doesn't like color? No reason to strip it. This
+  makes the link phase stick out like a sore thumb if there's warnings emitted.
+
+* -frecord-gcc-switches: we use it in Gentoo to check if a package respects
+  *FLAGS. Note that we do not need to include -grecord-gcc-switches explicitly
+  here as -g* is already whitelisted.
+
+* build-aux/ltmain.in: Handle -fdiagnostics-color* & -frecord-gcc-switches.
 --- ltmain.in
 +++ ltmain.in
 @@ -5405,6 +5405,8 @@ func_mode_link ()

Reply via email to