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 9A8EB15838C for ; Tue, 23 Jan 2024 20:07:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDD5DE2AAB; Tue, 23 Jan 2024 20:07:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B217AE2AAB for ; Tue, 23 Jan 2024 20:07:43 +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 E4D4F34331D for ; Tue, 23 Jan 2024 20:07:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 358CCF7D for ; Tue, 23 Jan 2024 20:07:41 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1706040358.74fca1ffffffaef18f7f2405b8632f1c22131c1e.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/intel-metrics-discovery/, dev-libs/intel-metrics-discovery/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild X-VCS-Directories: dev-libs/intel-metrics-discovery/ dev-libs/intel-metrics-discovery/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 74fca1ffffffaef18f7f2405b8632f1c22131c1e X-VCS-Branch: master Date: Tue, 23 Jan 2024 20:07:41 +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: 0b820ee7-66ab-4990-91f2-30ffa4dd89c5 X-Archives-Hash: f30e83fb2ca3535ba677490bcfbf860f commit: 74fca1ffffffaef18f7f2405b8632f1c22131c1e Author: Conrad Kostecki gentoo org> AuthorDate: Tue Jan 23 20:05:58 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Jan 23 20:05:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74fca1ff dev-libs/intel-metrics-discovery: fix redefine _FORTIFY_SOURCE Closes: https://bugs.gentoo.org/906388 Signed-off-by: Conrad Kostecki gentoo.org> .../files/intel-metrics-discovery-1.12.165.1-cflags.patch | 11 +++++++++++ .../intel-metrics-discovery-1.12.165.1.ebuild | 7 ++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch new file mode 100644 index 000000000000..9a897543ea41 --- /dev/null +++ b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -435,7 +435,7 @@ + if ("${BUILD_TYPE}" STREQUAL "release") + add_definitions(-DNDEBUG) + # security compiler flags +- add_definitions(-O2 -D_FORTIFY_SOURCE=2 -Wformat) ++ add_definitions(-Wformat) + elseif ("${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") + add_definitions(-D_RELEASE_INTERNAL) diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild index e9827e7a4117..741e180fbd28 100644 --- a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,10 +21,7 @@ KEYWORDS="amd64" DEPEND="x11-libs/libdrm" RDEPEND="${DEPEND}" -src_prepare() { - default - cmake_src_prepare -} +PATCHES=( "${FILESDIR}/${PN}-1.12.165.1-cflags.patch" ) src_configure() { local mycmakeargs=( -DLINUX_DISTRO="Gentoo" )