git: f96a853df858 - main - devel/hoel: Disable -Werror to fix build with recent Clang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jan 2026 11:10:33 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f96a853df85876386eaf59d1b81bdb03f028d276
commit f96a853df85876386eaf59d1b81bdb03f028d276
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-01-24 11:09:44 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-01-24 11:10:28 +0000
devel/hoel: Disable -Werror to fix build with recent Clang
hoel-1.4.29/src/hoel-mariadb.c:247:25: error: variable 'row' set but not used [-Werror,-Wunused-but-set-variable]
247 | uint num_fields, col, row;
| ^
---
devel/hoel/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/hoel/Makefile b/devel/hoel/Makefile
index 07335ce3c916..4065e7c64fa0 100644
--- a/devel/hoel/Makefile
+++ b/devel/hoel/Makefile
@@ -49,4 +49,7 @@ PGSQL_USES= pgsql
SQLITE3_CMAKE_BOOL= WITH_SQLITE3
SQLITE3_USES= sqlite
+post-patch:
+ ${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>