From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1550384-garchives=archives.gentoo.org@lists.gentoo.org>
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 4EF5C15800A
	for <garchives@archives.gentoo.org>; Tue, 29 Aug 2023 13:46:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4BD292BC014;
	Tue, 29 Aug 2023 13:46:15 +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 362EB2BC014
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Aug 2023 13:46:15 +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 196E6335C94
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Aug 2023 13:46:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2307310CF
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Aug 2023 13:46:12 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1693316731.e43d6ac165b8b6e07d939e524fb5bc9f9468701c.mattst88@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cups/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-print/cups/cups-2.4.6.ebuild net-print/cups/cups-9999.ebuild
X-VCS-Directories: net-print/cups/
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: e43d6ac165b8b6e07d939e524fb5bc9f9468701c
X-VCS-Branch: master
Date: Tue, 29 Aug 2023 13:46:12 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9df026fc-d4ce-4d12-a936-7c21034780f0
X-Archives-Hash: 3e0a8eeeadd6a75554add695634b7ca1

commit:     e43d6ac165b8b6e07d939e524fb5bc9f9468701c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 13:44:19 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 13:45:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43d6ac1

net-print/cups: Don't redefine _FORTIFY_SOURCE

Closes: https://bugs.gentoo.org/907683
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-print/cups/cups-2.4.6.ebuild | 3 +++
 net-print/cups/cups-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/net-print/cups/cups-2.4.6.ebuild b/net-print/cups/cups-2.4.6.ebuild
index 5f2bed2a1d4b..0419f6602052 100644
--- a/net-print/cups/cups-2.4.6.ebuild
+++ b/net-print/cups/cups-2.4.6.ebuild
@@ -117,6 +117,9 @@ src_prepare() {
 	# Remove ".SILENT" rule for verbose output (bug #524338).
 	sed 's#^.SILENT:##g' -i Makedefs.in || die
 
+	# Remove redefinition of _FORTIFY_SOURCE (bug #907683)
+	sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
+
 	AT_M4DIR="config-scripts" eautoreconf
 
 	# Custom Makefiles

diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild
index bd1cbc9533a8..d1f511ef75b9 100644
--- a/net-print/cups/cups-9999.ebuild
+++ b/net-print/cups/cups-9999.ebuild
@@ -117,6 +117,9 @@ src_prepare() {
 	# Remove ".SILENT" rule for verbose output (bug #524338).
 	sed 's#^.SILENT:##g' -i Makedefs.in || die
 
+	# Remove redefinition of _FORTIFY_SOURCE (bug #907683)
+	sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
+
 	AT_M4DIR="config-scripts" eautoreconf
 
 	# Custom Makefiles