git: 31d63b164945 - main - math/libpoly: unbreak build by ignoring -Wdeprecated-literal-operator
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 05:45:14 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=31d63b164945745e34a5d65ae7937338f535ec69
commit 31d63b164945745e34a5d65ae7937338f535ec69
Author: Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-06-21 05:41:35 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-21 05:45:10 +0000
math/libpoly: unbreak build by ignoring -Wdeprecated-literal-operator
PR: 296169
---
math/libpoly/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/math/libpoly/Makefile b/math/libpoly/Makefile
index f3a43abb5eb2..7c4e02e68a0a 100644
--- a/math/libpoly/Makefile
+++ b/math/libpoly/Makefile
@@ -24,7 +24,8 @@ CMAKE_OFF= LIBPOLY_BUILD_PYTHON_API LIBPOLY_BUILD_STATIC LIBPOLY_BUILD_STATIC_PI
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
-CFLAGS+= -Wno-error=unused-but-set-variable
+CFLAGS+= -Wno-error=unused-but-set-variable -Wno-error=deprecated-literal-operator # see https://github.com/SRI-CSL/libpoly/issues/111 for -Wno-error=deprecated-literal-operator
+# -Wno-error=unused-but-set-variable above is probably not needed any more
.endif
# tests as of 0.2.1: 100% tests passed, 0 tests failed out of 15