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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E827815817D for ; Mon, 3 Jun 2024 21:53:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B350E2A21; Mon, 3 Jun 2024 21:53:48 +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 1E6AEE2A21 for ; Mon, 3 Jun 2024 21:53:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 152053409C8 for ; Mon, 3 Jun 2024 21:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F1331587 for ; Mon, 3 Jun 2024 21:53:45 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1717451614.cc66524b22b55a4f6ab64b21efbe226c7eb4e552.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-26.3-r18.ebuild app-editors/emacs/emacs-27.2-r16.ebuild app-editors/emacs/emacs-28.2-r12.ebuild app-editors/emacs/emacs-29.3-r2.ebuild app-editors/emacs/emacs-29.3.9999.ebuild app-editors/emacs/emacs-30.0.9999.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: cc66524b22b55a4f6ab64b21efbe226c7eb4e552 X-VCS-Branch: master Date: Mon, 3 Jun 2024 21:53:45 +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: 30a2b85b-2455-4f16-9c5e-fbb332538960 X-Archives-Hash: b4f08fb9fa2c03ee6ddeade8b3392af2 commit: cc66524b22b55a4f6ab64b21efbe226c7eb4e552 Author: Ulrich Müller gentoo org> AuthorDate: Mon Jun 3 21:06:01 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Jun 3 21:53:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc66524b app-editors/emacs: Use sane compiler flags for FP arithmetic Fixes a test failure with lcms-cam02-ucs. Closes: https://bugs.gentoo.org/933380 Signed-off-by: Ulrich Müller gentoo.org> app-editors/emacs/emacs-26.3-r18.ebuild | 3 +++ app-editors/emacs/emacs-27.2-r16.ebuild | 4 ++++ app-editors/emacs/emacs-28.2-r12.ebuild | 4 ++++ app-editors/emacs/emacs-29.3-r2.ebuild | 4 ++++ app-editors/emacs/emacs-29.3.9999.ebuild | 4 ++++ app-editors/emacs/emacs-30.0.9999.ebuild | 4 ++++ 6 files changed, 23 insertions(+) diff --git a/app-editors/emacs/emacs-26.3-r18.ebuild b/app-editors/emacs/emacs-26.3-r18.ebuild index acca742e0fe9..1ba9d36ffa14 100644 --- a/app-editors/emacs/emacs-26.3-r18.ebuild +++ b/app-editors/emacs/emacs-26.3-r18.ebuild @@ -132,6 +132,9 @@ src_configure() { replace-flags "-O[3-9]" -O2 fi + # We want floating-point arithmetic to be correct #933380 + append-flags -fno-fast-math -ffp-contract=off + local myconf if use alsa; then diff --git a/app-editors/emacs/emacs-27.2-r16.ebuild b/app-editors/emacs/emacs-27.2-r16.ebuild index 5c0b5934fb86..f6b8de88dad1 100644 --- a/app-editors/emacs/emacs-27.2-r16.ebuild +++ b/app-editors/emacs/emacs-27.2-r16.ebuild @@ -166,6 +166,10 @@ src_prepare() { } src_configure() { + # We want floating-point arithmetic to be correct #933380 + replace-flags -Ofast -O3 + append-flags -fno-fast-math -ffp-contract=off + local myconf if use alsa; then diff --git a/app-editors/emacs/emacs-28.2-r12.ebuild b/app-editors/emacs/emacs-28.2-r12.ebuild index 50156d392662..12cc6ad9824d 100644 --- a/app-editors/emacs/emacs-28.2-r12.ebuild +++ b/app-editors/emacs/emacs-28.2-r12.ebuild @@ -190,6 +190,10 @@ src_prepare() { } src_configure() { + # We want floating-point arithmetic to be correct #933380 + replace-flags -Ofast -O3 + append-flags -fno-fast-math -ffp-contract=off + local myconf # Prevents e.g. tests interfering with running Emacs. diff --git a/app-editors/emacs/emacs-29.3-r2.ebuild b/app-editors/emacs/emacs-29.3-r2.ebuild index c828ae18054e..cf970a0a5802 100644 --- a/app-editors/emacs/emacs-29.3-r2.ebuild +++ b/app-editors/emacs/emacs-29.3-r2.ebuild @@ -223,6 +223,10 @@ src_prepare() { } src_configure() { + # We want floating-point arithmetic to be correct #933380 + replace-flags -Ofast -O3 + append-flags -fno-fast-math -ffp-contract=off + local myconf # Prevents e.g. tests interfering with running Emacs. diff --git a/app-editors/emacs/emacs-29.3.9999.ebuild b/app-editors/emacs/emacs-29.3.9999.ebuild index 4f14c5c8568a..8ce5405e7582 100644 --- a/app-editors/emacs/emacs-29.3.9999.ebuild +++ b/app-editors/emacs/emacs-29.3.9999.ebuild @@ -220,6 +220,10 @@ src_prepare() { } src_configure() { + # We want floating-point arithmetic to be correct #933380 + replace-flags -Ofast -O3 + append-flags -fno-fast-math -ffp-contract=off + local myconf # Prevents e.g. tests interfering with running Emacs. diff --git a/app-editors/emacs/emacs-30.0.9999.ebuild b/app-editors/emacs/emacs-30.0.9999.ebuild index dd2880411851..886e2dbf4f7f 100644 --- a/app-editors/emacs/emacs-30.0.9999.ebuild +++ b/app-editors/emacs/emacs-30.0.9999.ebuild @@ -220,6 +220,10 @@ src_prepare() { } src_configure() { + # We want floating-point arithmetic to be correct #933380 + replace-flags -Ofast -O3 + append-flags -fno-fast-math -ffp-contract=off + local myconf # Prevents e.g. tests interfering with running Emacs.