git: 243e1c773c39 - main - sysutils/flashrom: Fix build with cmocka 2.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Dec 2025 22:58:56 UTC
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