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 60831158041 for ; Wed, 13 Mar 2024 21:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F3CFE29D4; Wed, 13 Mar 2024 21:04:44 +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 60C6EE29D4 for ; Wed, 13 Mar 2024 21:04:44 +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 A3E99340DE6 for ; Wed, 13 Mar 2024 21:04:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E489A151B for ; Wed, 13 Mar 2024 21:04:40 +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: <1710363846.e67f79a47f2313b36978783d2d7d2c0bc0b2a13c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/ponyprog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/ponyprog/ponyprog-3.1.3.ebuild X-VCS-Directories: dev-embedded/ponyprog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e67f79a47f2313b36978783d2d7d2c0bc0b2a13c X-VCS-Branch: master Date: Wed, 13 Mar 2024 21:04:40 +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: 0152c64e-099d-484c-8d62-1c6de4bdcf80 X-Archives-Hash: 9211dde77b6cf1bd88af460103f0368c commit: e67f79a47f2313b36978783d2d7d2c0bc0b2a13c Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 13 18:26:18 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 13 21:04:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e67f79a4 dev-embedded/ponyprog: mark as LTO-unsafe Closes: https://bugs.gentoo.org/855272 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-embedded/ponyprog/ponyprog-3.1.3.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild b/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild index 2c1f2fd622c7..374c8ea1eee5 100644 --- a/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild +++ b/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake udev +inherit cmake flag-o-matic udev DESCRIPTION="EEPROM and microcontroller programmer/flasher" HOMEPAGE="https://github.com/lancos/ponyprog/" @@ -31,6 +31,15 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/855272 + # https://github.com/lancos/ponyprog/issues/28 + filter-lto + + cmake_src_configure +} + pkg_postinst() { udev_reload