diff --git a/x11-drivers/xf86-video-savage/Makefile b/x11-drivers/xf86-video-savage/Makefile index 2a7146ec9863..fe577e67a954 100644 --- a/x11-drivers/xf86-video-savage/Makefile +++ b/x11-drivers/xf86-video-savage/Makefile @@ -1,19 +1,25 @@ PORTNAME= xf86-video-savage PORTVERSION= 2.3.9 PORTREVISION= 7 CATEGORIES= x11-drivers PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/ PATCHFILES+= 0ece556daa8a88771b669d8104396abd9166d2d0.patch:-p1 MAINTAINER= x11@FreeBSD.org COMMENT= X.Org savage display driver WWW= https://www.x.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl xorg-cat:driver USE_GL= gl +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include