From d7e248ed115e70771cf5ea3f65a58949ac77cb3b Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 1 Mar 2025 15:34:05 +0200 Subject: [PATCH] sys-apps/flashprog: Fix Werror and incorrect path bugs Signed-off-by: Andre --- sys-apps/flashprog/flashprog-1.2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys-apps/flashprog/flashprog-1.2.ebuild b/sys-apps/flashprog/flashprog-1.2.ebuild index 444cb17938..3e9d1b40af 100644 --- a/sys-apps/flashprog/flashprog-1.2.ebuild +++ b/sys-apps/flashprog/flashprog-1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Utility for identifying, reading, writing, verifying and erasing flash chips." @@ -13,3 +13,9 @@ RDEPEND=">=dev-libs/libusb-1.0.26 >=dev-libs/libgpiod-1.6.4 >=sys-apps/pciutils-3.13.0" DEPEND="${RDEPEND}" +src_compile() { + emake WARNERROR=no +} +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install +}