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 CA5391581F3 for ; Mon, 2 Dec 2024 04:39:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0025CE079C; Mon, 2 Dec 2024 04:39:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B38FFE079C for ; Mon, 2 Dec 2024 04:39:12 +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 B6067342F92 for ; Mon, 2 Dec 2024 04:39:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27A06F96 for ; Mon, 2 Dec 2024 04:39:10 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1733114345.c3c7109c9383582faff4f2c45b0073cd58bd859e.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/safecat/files/, net-mail/safecat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/safecat/files/safecat-1.13-gcc15.patch net-mail/safecat/safecat-1.13-r2.ebuild X-VCS-Directories: net-mail/safecat/ net-mail/safecat/files/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: c3c7109c9383582faff4f2c45b0073cd58bd859e X-VCS-Branch: master Date: Mon, 2 Dec 2024 04:39:10 +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: 5de8dbfc-a50a-4d1f-ba6e-be736c72cef8 X-Archives-Hash: 9134829a4659b362192fcbc615c4e99a commit: c3c7109c9383582faff4f2c45b0073cd58bd859e Author: Robin H. Johnson gentoo org> AuthorDate: Mon Dec 2 04:38:41 2024 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Dec 2 04:39:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c7109c net-mail/safecat: GCC15 fixes Signed-off-by: Robin H. Johnson gentoo.org> Closes: https://bugs.gentoo.org/945487 net-mail/safecat/files/safecat-1.13-gcc15.patch | 11 +++++++++++ net-mail/safecat/safecat-1.13-r2.ebuild | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/net-mail/safecat/files/safecat-1.13-gcc15.patch b/net-mail/safecat/files/safecat-1.13-gcc15.patch new file mode 100644 index 000000000000..48f5f90c7453 --- /dev/null +++ b/net-mail/safecat/files/safecat-1.13-gcc15.patch @@ -0,0 +1,11 @@ +diff -Nuar safecat-1.13.orig/exit.h safecat-1.13/exit.h +--- safecat-1.13.orig/exit.h 2000-02-28 20:10:12.000000000 -0800 ++++ safecat-1.13/exit.h 2024-12-01 20:31:38.729548653 -0800 +@@ -1,6 +1,6 @@ + #ifndef EXIT_H + #define EXIT_H + +-extern void _exit(); ++extern void _exit(int); + + #endif diff --git a/net-mail/safecat/safecat-1.13-r2.ebuild b/net-mail/safecat/safecat-1.13-r2.ebuild index d74f17778cea..f604ea6e293f 100644 --- a/net-mail/safecat/safecat-1.13-r2.ebuild +++ b/net-mail/safecat/safecat-1.13-r2.ebuild @@ -30,6 +30,8 @@ PATCHES=( "${FILESDIR}"/${P}-include.patch # Clang fixes "${DISTDIR}"/${P}-clang-fixes.patch + # GCC15 fixes + "${FILESDIR}"/safecat-1.13-gcc15.patch ) src_prepare() { @@ -40,7 +42,8 @@ src_prepare() { src_configure() { echo "/usr" > conf-root || die - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + # Verified that these are safe as of 2024/12/01. + echo "$(tc-getCC) ${CFLAGS} -Wno-discarded-qualifiers -Wno-misleading-indentation" > conf-cc || die echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die echo "$(tc-getAR)" > conf-ar || die }