From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 BEEDF158042 for ; Fri, 18 Oct 2024 20:38:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C96E8E0841; Fri, 18 Oct 2024 20:38:19 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC10DE0841 for ; Fri, 18 Oct 2024 20:38:19 +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 A4F543430DB for ; Fri, 18 Oct 2024 20:38:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05CCDEA0 for ; Fri, 18 Oct 2024 20:38:17 +0000 (UTC) From: "Mats Lidell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mats Lidell" Message-ID: <1729283868.c390fa2cb398038e30190e64d6ed41e88db5d5ea.matsl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/, app-editors/xemacs/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/xemacs/files/xemacs-21.5.35-linker-flags.patch app-editors/xemacs/xemacs-21.5.35-r4.ebuild X-VCS-Directories: app-editors/xemacs/files/ app-editors/xemacs/ X-VCS-Committer: matsl X-VCS-Committer-Name: Mats Lidell X-VCS-Revision: c390fa2cb398038e30190e64d6ed41e88db5d5ea X-VCS-Branch: master Date: Fri, 18 Oct 2024 20:38:17 +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: 526f7abb-5683-490c-9fa8-ec1ff335b67b X-Archives-Hash: 3b37fb4cb3c50d201165b60edf9584aa commit: c390fa2cb398038e30190e64d6ed41e88db5d5ea Author: Mats Lidell gentoo org> AuthorDate: Fri Oct 18 20:29:31 2024 +0000 Commit: Mats Lidell gentoo org> CommitDate: Fri Oct 18 20:37:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c390fa2c app-editors/xemacs: Let compiler driver handle LDFLAGS Add upstream patch to no longer use XE_PROTECT_LINKER_FLAGS on LDFLAGS. Closes: https://bugs.gentoo.org/940327 Signed-off-by: Mats Lidell gentoo.org> .../xemacs/files/xemacs-21.5.35-linker-flags.patch | 24 ++++++++++++++++++++++ app-editors/xemacs/xemacs-21.5.35-r4.ebuild | 1 + 2 files changed, 25 insertions(+) diff --git a/app-editors/xemacs/files/xemacs-21.5.35-linker-flags.patch b/app-editors/xemacs/files/xemacs-21.5.35-linker-flags.patch new file mode 100644 index 000000000000..4d95b56608f0 --- /dev/null +++ b/app-editors/xemacs/files/xemacs-21.5.35-linker-flags.patch @@ -0,0 +1,24 @@ +changeset: 7521:ce06831b299c +parent: 7519:fb35ba719d24 +user: Aidan Kehoe +date: Thu Oct 17 09:01:54 2024 +0100 +summary: configure.ac: No longer use XE_PROTECT_LINKER_FLAGS on LDFLAGS. + +diff -r fb35ba719d24 -r ce06831b299c configure.ac +--- a/configure.ac Mon Oct 14 19:18:08 2024 +0100 ++++ b/configure.ac Thu Oct 17 09:01:54 2024 +0100 +@@ -2155,8 +2155,12 @@ + XE_PROTECT_LINKER_FLAGS(ld_switch_system) + XE_PROTECT_LINKER_FLAGS(ld_switch_machine) + XE_PROTECT_LINKER_FLAGS(ld_switch_site) +-XE_PROTECT_LINKER_FLAGS(LDFLAGS) + XE_PROTECT_LINKER_FLAGS(ld_call_shared) ++dnl No longer do this for LDFLAGS, since that interacts poorly with link time ++dnl optimization. Unclear if XE_PROTECT_LINKER_FLAGS() is still needed in ++dnl general, it was introduced for GCC versions in the 90s and things have ++dnl changed, but unlikely to be an issue with the other flags. See ++dnl https://bugs.gentoo.org/940327 for a relevant bug report. + + dnl Add s&m-determined objects to link line + test -n "$objects_machine" && XE_ADD_OBJS($objects_machine) + diff --git a/app-editors/xemacs/xemacs-21.5.35-r4.ebuild b/app-editors/xemacs/xemacs-21.5.35-r4.ebuild index 7e74432b1405..766ac26ff39b 100644 --- a/app-editors/xemacs/xemacs-21.5.35-r4.ebuild +++ b/app-editors/xemacs/xemacs-21.5.35-r4.ebuild @@ -68,6 +68,7 @@ src_prepare() { eapply "${FILESDIR}/${P}-which.patch" eapply "${FILESDIR}/${P}-misalignment.patch" eapply "${FILESDIR}/${P}-va_args.patch" + eapply "${FILESDIR}/${P}-linker-flags.patch" eapply_user