From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92BCD1584F2 for ; Thu, 13 Mar 2025 10:08:18 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 751053434C7 for ; Thu, 13 Mar 2025 10:08:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6DD4A11037F; Thu, 13 Mar 2025 10:08:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5A93C11037F for ; Thu, 13 Mar 2025 10:08:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03AFB3434C7 for ; Thu, 13 Mar 2025 10:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 363A62607 for ; Thu, 13 Mar 2025 10:08:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741860490.ae822d007a7120fa5856a3fe8d5f90e97eba0b55.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 15.0.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 15.0.0/gentoo/35_all_PR119266-contrib-make-relpath.sh-use-GNU-realpath.patch 15.0.0/gentoo/README.history X-VCS-Directories: 15.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ae822d007a7120fa5856a3fe8d5f90e97eba0b55 X-VCS-Branch: master Date: Thu, 13 Mar 2025 10:08:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 39809b63-0f2f-42cc-b610-76e31acb1275 X-Archives-Hash: b01a73bb1a8ca597afd9f9a7895bab47 commit: ae822d007a7120fa5856a3fe8d5f90e97eba0b55 Author: Sam James gentoo org> AuthorDate: Thu Mar 13 10:07:37 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 13 10:08:10 2025 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=ae822d00 15.0.0: add realpath hack for C++ modules JSON location Bug: https://gcc.gnu.org/PR119266 Bug: https://bugs.gentoo.org/948394 Signed-off-by: Sam James gentoo.org> ...-contrib-make-relpath.sh-use-GNU-realpath.patch | 33 ++++++++++++++++++++++ 15.0.0/gentoo/README.history | 1 + 2 files changed, 34 insertions(+) diff --git a/15.0.0/gentoo/35_all_PR119266-contrib-make-relpath.sh-use-GNU-realpath.patch b/15.0.0/gentoo/35_all_PR119266-contrib-make-relpath.sh-use-GNU-realpath.patch new file mode 100644 index 0000000..8278fc4 --- /dev/null +++ b/15.0.0/gentoo/35_all_PR119266-contrib-make-relpath.sh-use-GNU-realpath.patch @@ -0,0 +1,33 @@ +From 0a2fe8f7a000a13005688aea980b90befe917a8e Mon Sep 17 00:00:00 2001 +Message-ID: <0a2fe8f7a000a13005688aea980b90befe917a8e.1741860425.git.sam@gentoo.org> +From: Sam James +Date: Thu, 13 Mar 2025 10:06:29 +0000 +Subject: [PATCH] contrib: make relpath.sh use GNU realpath + +contrib/ChangeLog: + PR libstdc++/119266 + + * relpath.sh: Use GNU realpath. +--- + contrib/relpath.sh | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/contrib/relpath.sh b/contrib/relpath.sh +index 1b329fc04a78..3930b7730d0b 100755 +--- a/contrib/relpath.sh ++++ b/contrib/relpath.sh +@@ -10,6 +10,9 @@ fi + from="${1%%/}" + to="${2%%/}" + ++# XXX: Hack for https://gcc.gnu.org/PR119266 ++exec realpath --relative-to="${from}" "${to}" ++ + # The parent directory of a pathname, handling .. + parent() { + name=$(basename "$1") + +base-commit: d8a3944b440777d2d6fb4a9f456189a0dc439ec8 +-- +2.48.1 + diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index c66ebe8..9e5a944 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,5 +1,6 @@ 47 ???? + + 35_all_PR119266-contrib-make-relpath.sh-use-GNU-realpath.patch - 80_all_PR81358-Enable-automatic-linking-of-libatomic.patch 46 17 February 2025