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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D323E1581F0 for ; Thu, 23 Jan 2025 16:19:54 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9FB963434F9 for ; Thu, 23 Jan 2025 16:19:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A2C1A11042D; Thu, 23 Jan 2025 16:19:53 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 9665F11042D for ; Thu, 23 Jan 2025 16:19:53 +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 454733434DF for ; Thu, 23 Jan 2025 16:19:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1CD3DCF for ; Thu, 23 Jan 2025 16:19:51 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1737649178.78ab7fb8714c7f5409409b2fd0f26d2bfd9c52c7.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/, dev-libs/isa-l/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/isa-l/files/isa-l-2.31.0_no-fortify-source.patch dev-libs/isa-l/isa-l-2.31.0.ebuild X-VCS-Directories: dev-libs/isa-l/files/ dev-libs/isa-l/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 78ab7fb8714c7f5409409b2fd0f26d2bfd9c52c7 X-VCS-Branch: master Date: Thu, 23 Jan 2025 16:19:51 +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: 20188457-1d02-404a-8704-91ea2aaf316f X-Archives-Hash: b7cef4ed82608a1d202ba192fb02ae3e commit: 78ab7fb8714c7f5409409b2fd0f26d2bfd9c52c7 Author: Filip Kobierski pm me> AuthorDate: Fri Sep 6 10:51:30 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Thu Jan 23 16:19:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ab7fb8 dev-libs/isa-l: add no-fortify-source patch Closes: https://bugs.gentoo.org/935525 Signed-off-by: Filip Kobierski pm.me> Closes: https://github.com/gentoo/gentoo/pull/38483 Signed-off-by: Viorel Munteanu gentoo.org> .../files/isa-l-2.31.0_no-fortify-source.patch | 38 ++++++++++++++++++++++ dev-libs/isa-l/isa-l-2.31.0.ebuild | 1 + 2 files changed, 39 insertions(+) diff --git a/dev-libs/isa-l/files/isa-l-2.31.0_no-fortify-source.patch b/dev-libs/isa-l/files/isa-l-2.31.0_no-fortify-source.patch new file mode 100644 index 000000000000..36ddb6304035 --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.31.0_no-fortify-source.patch @@ -0,0 +1,38 @@ +From: Filip Kobierski +Date: Fri, 6 Sep 2024 12:49:09 +0200 +Upstream hardcodes FORTIFY_SOURCE to 2. This patch removes it so it is not redefined when we set it. +This fixes https://bugs.gentoo.org/935525 + +--- + configure.ac | 1 - + make.inc | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 72500ee..72bbb54 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -301,7 +301,6 @@ my_CFLAGS="\ + -Wstrict-prototypes \ + -Wtype-limits \ + -fstack-protector \ +--D_FORTIFY_SOURCE=2 \ + " + AC_SUBST([my_CFLAGS]) + +diff --git a/make.inc b/make.inc +index 33baf49..0cfc571 100644 +--- a/make.inc ++++ b/make.inc +@@ -57,7 +57,7 @@ DEBUG_yasm = -g dwarf2 + DEBUG_nasm = -g + + # Default arch= build options +-CFLAGS_ = -Wall -Wchar-subscripts -Wformat-security -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wtype-limits -fstack-protector -D_FORTIFY_SOURCE=2 ++CFLAGS_ = -Wall -Wchar-subscripts -Wformat-security -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wtype-limits -fstack-protector + ASFLAGS_ = -f elf64 + ARFLAGS_ = cr $@ + STRIP_gcc = strip -d -R .comment $@ +-- +2.44.2 + diff --git a/dev-libs/isa-l/isa-l-2.31.0.ebuild b/dev-libs/isa-l/isa-l-2.31.0.ebuild index 992207e9e408..cff37c2a7586 100644 --- a/dev-libs/isa-l/isa-l-2.31.0.ebuild +++ b/dev-libs/isa-l/isa-l-2.31.0.ebuild @@ -36,6 +36,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.30.0_fix-shebang.patch "${FILESDIR}"/${PN}-2.31.0_makefile-no-D.patch "${FILESDIR}"/${PN}-2.31.0_makefile-x86.patch + "${FILESDIR}"/${PN}-2.31.0_no-fortify-source.patch "${FILESDIR}"/${PN}-2.31.0_user-ldflags.patch )