Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2025 22:58:56 +0000
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 243e1c773c39 - main - sysutils/flashrom: Fix build with cmocka 2.0.0
Message-ID:  <693f4130.8066.7f70fdbe@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=243e1c773c3910e9db6a4b58e382ce4da282f06a

commit 243e1c773c3910e9db6a4b58e382ce4da282f06a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-12-14 22:14:08 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-12-14 22:14:14 +0000

    sysutils/flashrom: Fix build with cmocka 2.0.0
    
    Add -Wno-deprecated-declarations to CFLAGS to fix build
    
    Approved by:    blanket, build fix
---
 sysutils/flashrom/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile
index ccc9e29dbb4f..6c35af1ea0f7 100644
--- a/sysutils/flashrom/Makefile
+++ b/sysutils/flashrom/Makefile
@@ -21,6 +21,8 @@ LIB_DEPENDS=	libpci.so:devel/libpci
 USES=		meson pkgconfig ssl tar:xz
 USE_LDCONFIG=	yes
 
+CFLAGS+=	-Wno-deprecated-declarations
+
 PORTDOCS=	*
 
 OPTIONS_DEFINE=		DOCS FTDI MANPAGES


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693f4130.8066.7f70fdbe>