diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-05 15:41:01 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-05 18:09:00 +0000 |
commit | f3d6ebd7280f0069a8da7fac2d729537fdce5473 (patch) | |
tree | 67f44e73e503558469ea480818e50ed02ae495d0 | |
parent | 363f2d568101ea145a156679a8b10c3fbbc5fb87 (diff) | |
download | ports-f3d6ebd7280f0069a8da7fac2d729537fdce5473.tar.gz ports-f3d6ebd7280f0069a8da7fac2d729537fdce5473.zip |
devel/libfortuna: Fix build with llvm15
Approved by: portmgr (blanket)
-rw-r--r-- | devel/libfortuna/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libfortuna/Makefile b/devel/libfortuna/Makefile index 34c090460237..d6ebd45b0331 100644 --- a/devel/libfortuna/Makefile +++ b/devel/libfortuna/Makefile @@ -14,4 +14,10 @@ USE_LDCONFIG= yes GH_ACCOUNT= waitman GH_TAGNAME= 11cbd88 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=array-parameter +.endif + +.include <bsd.port.post.mk> |