git: db015e589372 - main - audio/espressivo-lv2: Fix build with lvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 15:39:03 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=db015e589372a8eb0c360cc207f95587948a0273
commit db015e589372a8eb0c360cc207f95587948a0273
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 14:47:02 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 15:38:52 +0000
audio/espressivo-lv2: Fix build with lvm15
Approved by: portmgr (blanket)
---
audio/espressivo-lv2/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/audio/espressivo-lv2/Makefile b/audio/espressivo-lv2/Makefile
index c57d1b6daa0b..b3d69ba4f59d 100644
--- a/audio/espressivo-lv2/Makefile
+++ b/audio/espressivo-lv2/Makefile
@@ -24,4 +24,10 @@ PLIST_FILES= lib/lv2/espressivo.lv2/espressivo.so \
lib/lv2/espressivo.lv2/espressivo.ttl \
lib/lv2/espressivo.lv2/manifest.ttl
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>