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 14EB6158041 for ; Sun, 7 Apr 2024 06:17:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11D4F2BC014; Sun, 7 Apr 2024 06:17:41 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8EE82BC014 for ; Sun, 7 Apr 2024 06:17:40 +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 3C0E534329A for ; Sun, 7 Apr 2024 06:17:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9619B1692 for ; Sun, 7 Apr 2024 06:17:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1712470572.a442fa8f588845a7d8daa972cae1c3d936bfdbc9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/kismet/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/kismet/kismet-2022.08.1-r2.ebuild net-wireless/kismet/kismet-2023.07.1.ebuild net-wireless/kismet/kismet-9999.ebuild X-VCS-Directories: net-wireless/kismet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a442fa8f588845a7d8daa972cae1c3d936bfdbc9 X-VCS-Branch: master Date: Sun, 7 Apr 2024 06:17:37 +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: 8abc7d5b-0e71-473a-82b6-72b556a0ae3c X-Archives-Hash: 31edf3f98772f247bad86e626d468ca5 commit: a442fa8f588845a7d8daa972cae1c3d936bfdbc9 Author: Eli Schwartz gmail com> AuthorDate: Fri Apr 5 05:42:41 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 7 06:16:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a442fa8f net-wireless/kismet: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/877761 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-wireless/kismet/kismet-2022.08.1-r2.ebuild | 12 ++++++++++-- net-wireless/kismet/kismet-2023.07.1.ebuild | 12 ++++++++++-- net-wireless/kismet/kismet-9999.ebuild | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/net-wireless/kismet/kismet-2022.08.1-r2.ebuild b/net-wireless/kismet/kismet-2022.08.1-r2.ebuild index 0965409505a7..fe81d7a6be92 100644 --- a/net-wireless/kismet/kismet-2022.08.1-r2.ebuild +++ b/net-wireless/kismet/kismet-2022.08.1-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) -inherit autotools python-single-r1 udev systemd +inherit autotools flag-o-matic python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -123,6 +123,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/877761 + # https://github.com/kismetwireless/kismet/issues/518 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable libusb libusb) \ $(use_enable pcre) \ diff --git a/net-wireless/kismet/kismet-2023.07.1.ebuild b/net-wireless/kismet/kismet-2023.07.1.ebuild index d811631a3fe8..004920a80551 100644 --- a/net-wireless/kismet/kismet-2023.07.1.ebuild +++ b/net-wireless/kismet/kismet-2023.07.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) -inherit autotools python-single-r1 udev systemd +inherit autotools flag-o-matic python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -114,6 +114,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/877761 + # https://github.com/kismetwireless/kismet/issues/518 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable libusb libusb) \ $(use_enable libusb wifi-coconut) \ diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 84a92eaf262c..4323fb204364 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) -inherit autotools python-single-r1 udev systemd +inherit autotools flag-o-matic python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -112,6 +112,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/877761 + # https://github.com/kismetwireless/kismet/issues/518 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable libusb libusb) \ $(use_enable libusb wifi-coconut) \