git: de06f99a9c4f - main - graphics/gle: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 18:09:59 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=de06f99a9c4fa7023cab2946cbcd5b0078d91073 commit de06f99a9c4fa7023cab2946cbcd5b0078d91073 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-25 11:50:54 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-25 18:09:47 +0000 graphics/gle: Fix build with llvm16 - Add LICENSE GPLv2 - Pet portclippy - Add missing USE_XORG=xext reported by poudriere testport Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/gle/Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile index a2971b78a805..839d2bcb1922 100644 --- a/graphics/gle/Makefile +++ b/graphics/gle/Makefile @@ -1,6 +1,6 @@ PORTNAME= gle PORTVERSION= 3.1.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\ http://linas.org/gle/pub/ \ @@ -11,15 +11,26 @@ MAINTAINER= ports@dclg.ca COMMENT= GL Tubing and Extrusion Library WWW= https://linas.org/gle/ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= gl libtool xorg -USE_XORG= ice xt xmu USE_GL= glut USE_LDCONFIG= yes +USE_XORG= ice xext xmu xt + GNU_CONFIGURE= yes + LIBS+= -L${LOCALBASE}/lib -lXext OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: .for file in ex_angle.c ex_cut_round.c ex_raw.c extrude.c round_cap.c segment.c texgen.c @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file}