diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 18:48:51 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 18:55:51 +0000 |
commit | 1e99fd383698437d4ec00ceb1dc76d03d59fa434 (patch) | |
tree | 8491d19c3f5684e02c359c84f980844763a34f45 | |
parent | 16f82a503aae4a5ccde843d9cceb014c8c8ed3ce (diff) | |
download | ports-1e99fd383698437d4ec00ceb1dc76d03d59fa434.tar.gz ports-1e99fd383698437d4ec00ceb1dc76d03d59fa434.zip |
x11/wdm: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | x11/wdm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile index 01091b42e355..f1a736db4fea 100644 --- a/x11/wdm/Makefile +++ b/x11/wdm/Makefile @@ -50,6 +50,12 @@ WDMDIR= ${PREFIX}/lib/X11/wdm PAM_CONFIGURE_OFF= --disable-pam PAM_CONFIGURE_ON= --with-pamdir=${LOCALBASE}/etc/pam.d/ +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|/usr/X11R6|${PREFIX}|g' ${WRKSRC}/configs/KillConsole |