editors/gnome-latex: reinstate -Wno-error=incompatible-function-pointer-types

These errors were not related to any Vala-generated code.

https://gitlab.gnome.org/swilmet/gnome-latex/-/issues/7
https://gitlab.gnome.org/swilmet/gnome-latex/-/issues/11
This commit is contained in:
Charlie Li 2024-03-21 02:55:03 -04:00
parent 65515e615d
commit 14b48936ec
No known key found for this signature in database
GPG Key ID: 678F936058415CCA
1 changed files with 7 additions and 1 deletions

View File

@ -34,4 +34,10 @@ OPTIONS_SUB= yes
GLIB_SCHEMAS= org.gnome.gnome-latex.gschema.xml
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.post.mk>