diff options
author | 2022-12-17 07:27:58 +0000 | |
---|---|---|
committer | 2022-12-17 07:27:58 +0000 | |
commit | ebe8be7dd3772238844454283aa6f3c716cce657 (patch) | |
tree | 5a474fde18f9b59aae1efd552e39c4c04d4c0f4b /12.2.0 | |
parent | 13.1.0: add 30_all_tar_libstdc++-link.patch (diff) | |
download | gcc-patches-ebe8be7dd3772238844454283aa6f3c716cce657.tar.gz gcc-patches-ebe8be7dd3772238844454283aa6f3c716cce657.tar.bz2 gcc-patches-ebe8be7dd3772238844454283aa6f3c716cce657.zip |
10.5.0/11.4.0/12.2.0/13.1.0: update libarchive/bsdtar patch
Bug: https://bugs.gentoo.org/886447
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '12.2.0')
-rw-r--r-- | 12.2.0/gentoo/30_all_tar_libstdc++-link.patch | 13 | ||||
-rw-r--r-- | 12.2.0/gentoo/README.history | 3 |
2 files changed, 11 insertions, 5 deletions
diff --git a/12.2.0/gentoo/30_all_tar_libstdc++-link.patch b/12.2.0/gentoo/30_all_tar_libstdc++-link.patch index ab654e9..149d614 100644 --- a/12.2.0/gentoo/30_all_tar_libstdc++-link.patch +++ b/12.2.0/gentoo/30_all_tar_libstdc++-link.patch @@ -31,19 +31,22 @@ https://bugs.gentoo.org/843119 Signed-off-by: Sam James <sam@gentoo.org> --- a/gcc/Makefile.in +++ b/gcc/Makefile.in -@@ -3936,9 +3936,9 @@ install-headers-tar: stmp-int-hdrs install-include-dir +@@ -3934,10 +3934,10 @@ install-headers-tar: stmp-int-hdrs install-include-dir # Unless a full pathname is provided, some shells would print the new CWD, # found in CDPATH, corrupting the output. We could just redirect the # output of `cd', but some shells lose on redirection within `()'s - (cd `${PWD_COMMAND}`/include ; \ -+ (unset LD_LIBRARY_PATH ; cd `${PWD_COMMAND}`/include ; \ - tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) +- tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) - (cd `${PWD_COMMAND}`/include-fixed ; \ +- tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - ) ++ (unset LD_LIBRARY_PATH ; cd `${PWD_COMMAND}`/include ; \ ++ tar -cf - .; exit 0) | (unset LD_LIBRARY_PATH ; cd $(DESTDIR)$(libsubdir)/include; tar xpf - ) + (unset LD_LIBRARY_PATH ; cd `${PWD_COMMAND}`/include-fixed ; \ - tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - ) ++ tar -cf - .; exit 0) | (unset LD_LIBRARY_PATH ; cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - ) # /bin/sh on some systems returns the status of the first tar, # and that can lose with GNU tar which always writes a full block. -@@ -3960,7 +3960,7 @@ install-headers-cp: stmp-int-hdrs install-include-dir + # So use `exit 0' to ignore its exit status. +@@ -3958,7 +3958,7 @@ install-headers-cp: stmp-int-hdrs install-include-dir # Targets without dependencies, for use in prev-gcc during bootstrap. real-install-headers-tar: (cd `${PWD_COMMAND}`/include-fixed ; \ diff --git a/12.2.0/gentoo/README.history b/12.2.0/gentoo/README.history index ee29c5e..9d111f5 100644 --- a/12.2.0/gentoo/README.history +++ b/12.2.0/gentoo/README.history @@ -1,3 +1,6 @@ +6 17 Dec 2022 + U 30_all_tar_libstdc++-link.patch + 5 17 Dec 2022 + 30_all_tar_libstdc++-link.patch |