math/py-levmar: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6cac88af1b
commit
54d851eb97
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ USE_PYTHON= distutils autoplist
|
|||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|ö|o|' ${WRKSRC}/AUTHORS # breaks because of non-ascii chars
|
||||
|
||||
|
|
Loading…
Reference in a new issue